example-mailbox: v6

This commit is contained in:
Yoshua Wuyts
2016-05-14 10:44:44 +07:00
parent 32ae62d655
commit 1481cb0f6c
5 changed files with 38 additions and 54 deletions
+8 -10
View File
@@ -4,14 +4,12 @@ const empty = require('../elements/empty-mailbox')
const pathname = require('../elements/pathname')
const nav = require('../elements/nav')
module.exports = function () {
return function (params, state, send) {
return choo.view`
<main class="mw5 mw7-ns center cf">
${pathname(params, state, send)}
${nav(params, state, send)}
${empty(params, state, send)}
</main>
`
}
module.exports = function (params, state, send) {
return choo.view`
<main class="mw5 mw7-ns center cf">
${pathname(params, state, send)}
${nav(params, state, send)}
${empty(params, state, send)}
</main>
`
}