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