git ssb

0+

ev / microbay



forked from Dominic / patchbay

Tree: db0a3916eb340dff39619cfcf00210ef871afffe

Files: db0a3916eb340dff39619cfcf00210ef871afffe / modules / avatar-profile.js

511 bytesRaw
1var h = require('hyperscript')
2var plugs = require('../plugs')
3
4
5var avatar_image = plugs.first(exports.avatar_image = [])
6var avatar_name = plugs.first(exports.avatar_name = [])
7var avatar_action = plugs.map(exports.avatar_action = [])
8var avatar_edit = plugs.first(exports.avatar_edit = [])
9
10exports.avatar_profile = function (id) {
11 return avatar_edit(id)
12
13 return h('div.row.profile',
14 avatar_image(id),
15 h('div.profile__info',
16 h('strong', avatar_name(id)),
17 avatar_action(id))
18 )
19}
20

Built with git-ssb-web