git ssb

2+

mixmix / ticktack



Tree: 7e24f761d4772ef1ac78ab33da6743bb7e1d821d

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