blob: e6a6d19bf36fbb44b97e1b9e4aa86a6aeba91ddd (
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.u-p-sticky-top
+avatar= user.slice(0, 2)
block
|