example-mailbox: v3
This commit is contained in:
@@ -4,8 +4,10 @@ const choo = require('../../../')
|
||||
module.exports = function (nav, mailbox) {
|
||||
return function (params, state, send) {
|
||||
return choo.view`
|
||||
<main class="app">
|
||||
<span>URL: ${pathname(state.location) || '/'}</span>
|
||||
<main class="mw5 mw7-ns center cf">
|
||||
<span class="fl mt4 w-100 f4 b">
|
||||
URL: ${pathname(state.location) || '/'}
|
||||
</span>
|
||||
${nav(params, state, send)}
|
||||
${mailbox(params, state, send)}
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user