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