Files: 38e0417253d2dc77736737889d97f936df7f35a0 / app / page / settings.js
368 bytesRaw
1 | const nest = require('depnest') |
2 | const { h } = require('mutant') |
3 | |
4 | exports.gives = nest('app.page.settings') |
5 | |
6 | exports.needs = nest({ |
7 | 'app.html.nav': 'first' |
8 | }) |
9 | |
10 | exports.create = (api) => { |
11 | return nest('app.page.settings', settings) |
12 | |
13 | function settings (location) { |
14 | |
15 | return h('Page -settings', [ |
16 | h('h1', 'Settings'), |
17 | api.app.html.nav(), |
18 | ]) |
19 | } |
20 | } |
21 |
Built with git-ssb-web