git ssb

16+

Dominic / patchbay



Tree: 8cbcf91233c73cb8de180f682d84a828fdbde387

Files: 8cbcf91233c73cb8de180f682d84a828fdbde387 / modules / avatar.js

347 bytesRaw
1var h = require('hyperscript')
2var u = require('../util')
3
4
5var plugs = require('../plugs')
6var avatar_name = plugs.first(exports.avatar_name = [])
7var avatar_image = plugs.first(exports.avatar_image = [])
8
9exports.avatar = function (author) {
10 return h('a.avatar',
11 {href:'#'+author},
12 avatar_image(author),
13 avatar_name(author)
14 )
15}
16
17

Built with git-ssb-web