summaryrefslogtreecommitdiffstats
path: root/tpl/views/side-nav.pug
blob: 30fbcbbb44f774fb3cddcd02bd9a7a5f5ecff0ef (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
mixin view-side-nav 
    +view('side-nav', 'Side Nav')
        .c-box
            +side-nav
                +side-nav-item= 'Section 1'
                +side-nav-item(tag='div')= 'Section 2'
                +side-nav-item= 'Section 3'

        .c-box
            +side-nav
                +side-nav-item= 'Section 1'
                +side-nav-item= 'Section 2'

                +side-nav-header= 'Category 1'
                +side-nav-item= 'Section 3'
                +side-nav-item= 'Section 4'

                +side-nav-header= 'Category 2'
                +side-nav-item= 'Section 5'
                +side-nav-item= 'Section 6'

        .c-box
            +side-nav
                +side-nav-item(icon='hash')= 'Section 1'
                +side-nav-item(tag='div' icon='bookmark')= 'Section 2'
                +side-nav-item(icon='tags')= 'Section 3'