git ssb

2+

mixmix / ticktack



Tree: e73bff8390f085ab1944c5d9ac4c514cbbacf355

Files: e73bff8390f085ab1944c5d9ac4c514cbbacf355 / app / page / home.js

402 bytesRaw
1const nest = require('depnest')
2const { h } = require('mutant')
3
4exports.gives = nest('app.page.home')
5
6exports.needs = nest({
7 'app.html.nav': 'first'
8})
9
10exports.create = (api) => {
11 return nest('app.page.home', home)
12
13 function home (location) {
14 // location here can expected to be: { page: 'home' }
15
16 return h('Page -home', [
17 h('h1', 'Home'),
18 api.app.html.nav(),
19 ])
20 }
21}
22

Built with git-ssb-web