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