git ssb

0+

ev / microbay



forked from Dominic / patchbay

Tree: d5eb7683c93c7089b588c1e9b99aaa426b4da566

Files: d5eb7683c93c7089b588c1e9b99aaa426b4da566 / modules / avatar.js

365 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, classes) {
10 return h('a.avatar',
11 {href:'#'+author},
12 avatar_image(author, classes),
13 avatar_name(author)
14 )
15}
16
17

Built with git-ssb-web