git ssb

16+

Dominic / patchbay



Tree: ed0e128b84b0a1e2a1743a9b9a4f967e6b15ed4b

Files: ed0e128b84b0a1e2a1743a9b9a4f967e6b15ed4b / modules / avatar.js

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

Built with git-ssb-web