git ssb

2+

mixmix / ticktack



Tree: 08bdd1675bfb45b44e82c17c1269c2aafd4ae82b

Files: 08bdd1675bfb45b44e82c17c1269c2aafd4ae82b / app / page / userShow.js

406 bytesRaw
1const nest = require('depnest')
2const { h } = require('mutant')
3
4exports.gives = nest('app.page.userShow')
5
6exports.needs = nest({
7 'app.html.nav': 'first'
8})
9
10exports.create = (api) => {
11 return nest('app.page.userShow', userShow)
12
13 function userShow (location) {
14
15 return h('Page -userShow', [
16 h('h1', 'User show'),
17 api.app.html.nav(),
18 h('p', `key: ${location.key}`)
19 ])
20 }
21}
22

Built with git-ssb-web