summaryrefslogtreecommitdiffstats
path: root/tpl/views/message.pug
blob: dc8b2893532f4c71a110ebcbf8f017f4dff258ba (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-mis-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__block.l-media__block--main
                            strong= 'Volpeon'
                            small.u-mis-100= '@volpeon@mk.vulpes.one'
                        small.l-media__block
                            = '5 minutes ago'
                            +icon('lock')(class='u-mis-100')
                +slot('body')
                    = loremIpsum
                    = loremIpsum
                    = loremIpsum