diff options
Diffstat (limited to 'tpl/views/side-nav.pug')
-rw-r--r-- | tpl/views/side-nav.pug | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tpl/views/side-nav.pug b/tpl/views/side-nav.pug new file mode 100644 index 0000000..30fbcbb --- /dev/null +++ b/tpl/views/side-nav.pug | |||
@@ -0,0 +1,26 @@ | |||
1 | mixin view-side-nav | ||
2 | +view('side-nav', 'Side Nav') | ||
3 | .c-box | ||
4 | +side-nav | ||
5 | +side-nav-item= 'Section 1' | ||
6 | +side-nav-item(tag='div')= 'Section 2' | ||
7 | +side-nav-item= 'Section 3' | ||
8 | |||
9 | .c-box | ||
10 | +side-nav | ||
11 | +side-nav-item= 'Section 1' | ||
12 | +side-nav-item= 'Section 2' | ||
13 | |||
14 | +side-nav-header= 'Category 1' | ||
15 | +side-nav-item= 'Section 3' | ||
16 | +side-nav-item= 'Section 4' | ||
17 | |||
18 | +side-nav-header= 'Category 2' | ||
19 | +side-nav-item= 'Section 5' | ||
20 | +side-nav-item= 'Section 6' | ||
21 | |||
22 | .c-box | ||
23 | +side-nav | ||
24 | +side-nav-item(icon='hash')= 'Section 1' | ||
25 | +side-nav-item(tag='div' icon='bookmark')= 'Section 2' | ||
26 | +side-nav-item(icon='tags')= 'Section 3' | ||