blob: 4fcb1a42d7c8d16b75eaf4925f109c388fc49219 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
mixin bubble-group(user)
-
let classes = {
'l-bubble-group': true,
'l-bubble-group--compact': attributes.compact,
'l-bubble-group--left': attributes.left,
'l-bubble-group--right': attributes.right,
'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
|