git ssb

16+

Dominic / patchbay



Tree: 4bcfc9f6bc102b97669476fbfb3c7cf0457647ee

Files: 4bcfc9f6bc102b97669476fbfb3c7cf0457647ee / modules / avatar-profile.js

430 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 = [])
8
9exports.avatar_profile = function (id) {
10
11 return h('div.row.profile',
12 avatar_image(id),
13 h('div.profile__info',
14 h('strong', avatar_name(id)),
15 avatar_action(id))
16 )
17}
18

Built with git-ssb-web