Files: ff26c80cfeeef42ea28f8dcf591948899991614e / modules / avatar-profile.js
320 bytesRaw
1 | var h = require('hyperscript') |
2 | var plugs = require('../plugs') |
3 | |
4 | var avatar_image = plugs.first(exports.avatar_image = []) |
5 | var avatar_action = plugs.map(exports.avatar_action = []) |
6 | |
7 | exports.avatar_profile = function (id) { |
8 | |
9 | return h('div.row.profile', |
10 | avatar_image(id), |
11 | h('div.column', avatar_action(id)) |
12 | ) |
13 | } |
14 |
Built with git-ssb-web