diff options
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/objects/bubble-group.pug | 3 | ||||
-rw-r--r-- | tpl/views/bubble-group.pug | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/tpl/objects/bubble-group.pug b/tpl/objects/bubble-group.pug index 4fcb1a4..e22953d 100644 --- a/tpl/objects/bubble-group.pug +++ b/tpl/objects/bubble-group.pug | |||
@@ -14,4 +14,5 @@ mixin bubble-group(user) | |||
14 | section(class=classes) | 14 | section(class=classes) |
15 | .l-bubble-group__avatar.u-p-sticky-top | 15 | .l-bubble-group__avatar.u-p-sticky-top |
16 | +avatar= user.slice(0, 2) | 16 | +avatar= user.slice(0, 2) |
17 | block | 17 | .l-bubble-group__content |
18 | block | ||
diff --git a/tpl/views/bubble-group.pug b/tpl/views/bubble-group.pug index ce00067..dcdbe73 100644 --- a/tpl/views/bubble-group.pug +++ b/tpl/views/bubble-group.pug | |||
@@ -19,6 +19,25 @@ mixin view-bubble-group | |||
19 | +slot('time')= '12:39' | 19 | +slot('time')= '12:39' |
20 | 20 | ||
21 | .c-box.l-overflow(style='resize: vertical') | 21 | .c-box.l-overflow(style='resize: vertical') |
22 | +bubble-group('Volpeon')(compact=true right=true) | ||
23 | strong= 'Volpeon' | ||
24 | +bubble()(compact=true class='l-bubble-group__bubble') | ||
25 | +slot('body')= 'Compact bubbles test' | ||
26 | +slot('time')= '12:34' | ||
27 | +bubble()(compact=true class='l-bubble-group__bubble') | ||
28 | +slot('body')= loremIpsum | ||
29 | +slot('time')= '12:35' | ||
30 | +bubble()(compact=true class='l-bubble-group__bubble') | ||
31 | +slot('body')= 'qwertzuiop' | ||
32 | +slot('time')= '12:36' | ||
33 | +bubble()(compact=true class='l-bubble-group__bubble') | ||
34 | +slot('body')= '🐈️🦊️' | ||
35 | +slot('time')= '12:38' | ||
36 | +bubble()(compact=true class='l-bubble-group__bubble') | ||
37 | +slot('body')= loremIpsum | ||
38 | +slot('time')= '12:39' | ||
39 | |||
40 | .c-box.l-overflow(style='resize: vertical') | ||
22 | +bubble-group('Volpeon') | 41 | +bubble-group('Volpeon') |
23 | +bubble()(class='l-bubble-group__bubble') | 42 | +bubble()(class='l-bubble-group__bubble') |
24 | +slot('header') | 43 | +slot('header') |