git ssb

2+

mixmix / ticktack



Tree: 55f65b5f081677702c9c21215926ac33bbda7272

Files: 55f65b5f081677702c9c21215926ac33bbda7272 / 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