summaryrefslogtreecommitdiffstats
path: root/tpl/views/side-nav.pug
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-06-26 21:47:55 +0200
committerVolpeon <git@volpeon.ink>2024-06-26 21:47:55 +0200
commit03bb4268367dcd3b2d327d3834e2047a56687a86 (patch)
tree83f6f6837fc909dd8cc5f8166c3c1b4ae78c85d9 /tpl/views/side-nav.pug
parentUpdate (diff)
downloadiro-design-03bb4268367dcd3b2d327d3834e2047a56687a86.tar.gz
iro-design-03bb4268367dcd3b2d327d3834e2047a56687a86.tar.bz2
iro-design-03bb4268367dcd3b2d327d3834e2047a56687a86.zip
Menus
Diffstat (limited to 'tpl/views/side-nav.pug')
-rw-r--r--tpl/views/side-nav.pug26
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 @@
1mixin 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'