Files: 89f71075d1cca296946814be2c184d128e17d3d1 / 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