Files: 9a90757d9b3b08602cfc1aaf8d1b507d15a23d94 / 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