Files: 1a2e89c1945e9b2330e4834a9e544adbc12b171d / 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