git ssb

2+

mixmix / ticktack



Tree: 1399cedf6a9c2dcf4b6662bdeb010225320af71c

Files: 1399cedf6a9c2dcf4b6662bdeb010225320af71c / about / html / avatar.js

411 bytesRaw
1const nest = require('depnest')
2const { h } = require('mutant')
3
4exports.needs = nest({
5 'about.html.image': 'first',
6 'app.html.link': 'first'
7})
8
9exports.gives = nest('about.html.avatar')
10
11exports.create = function (api) {
12 return nest('about.html.avatar', feed => {
13 const Link = api.app.html.link
14
15 return Link(
16 { page: 'userShow', feed },
17 api.about.html.image(feed)
18 )
19
20 })
21}
22
23

Built with git-ssb-web