summaryrefslogtreecommitdiffstats
path: root/tpl/views/message.pug
blob: f256e416d2f976ec8112f6dc0a67ac84ba7f71e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
mixin view-message
    +view('message', 'Message')
        .c-box
            +message('Volpeon')(compact=true theme='t-up')
                +slot('body')= loremIpsum
                +slot('time')
                    = '12:34'
                    +icon('lock')(class='u-ml-100')

        .c-box
            +message('Volpeon')(compact=true highlight=true theme='t-up')
                +slot('body')= loremIpsum

        .c-box.u-themed.t-hi
            +message()(compact=true bubble=true theme='t-def')
                +slot('body')= loremIpsum

        .c-box.l-overflow(style='resize: vertical')
            +message('Volpeon')(avatar=true theme='t-up')
                +slot('header')
                    .l-media.l-media--flush
                        .l-media__block.l-media__block--main
                            strong= 'Volpeon'
                            small.u-ml-100= '@volpeon@mk.vulpes.one'
                        small.l-media__block
                            = '5 minutes ago'
                            +icon('lock')(class='u-ml-100')
                +slot('body')
                    = loremIpsum
                    = loremIpsum
                    = loremIpsum