blob: 2b960f0cefef86a134a5c100854a3d67b76df4c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
mixin bubble-group(user)
-
let classes = {
'l-bubble-group': true,
'l-bubble-group--compact': attributes.compact,
'l-bubble-group--arrow': attributes.arrow
}
if (attributes.class) {
classes[attributes.class] = true
}
section(class=classes)
.l-bubble-group__avatar
+avatar= user.slice(0, 2)
block
|