Files: 7458998a2a59e0edaf11b6ce83867a72f96577d6 / app / page / groupIndex.js
463 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 | 'translations.sync.strings': 'first', |
8 | 'app.html.nav': 'first' |
9 | }) |
10 | |
11 | exports.create = (api) => { |
12 | var strings = api.translations.sync.strings() |
13 | return nest('app.page.groupIndex', groupIndex) |
14 | |
15 | function groupIndex (location) { |
16 | return h('Page -groupIndex', {title: strings.groupIndex}, [ |
17 | strings.stub |
18 | ]) |
19 | } |
20 | } |
21 | |
22 | |
23 | |
24 |
Built with git-ssb-web