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