Files: f3409d0dc8b00fb3846783f9e510314430c1ecd1 / 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