13 lines
458 B
Plaintext
13 lines
458 B
Plaintext
|
component Navigation
|
||
|
nav#navigation
|
||
|
NavigationButton("Dash", "/", "inbox")
|
||
|
NavigationButton("Anime", "/anime", "television")
|
||
|
NavigationButton("Forum", "/forum", "comment")
|
||
|
NavigationButton("Genres", "/genres", "tags")
|
||
|
NavigationButton("Airing", "/airing", "rss")
|
||
|
|
||
|
component NavigationButton(name string, target string, icon string)
|
||
|
a.navigation-link.ajax(href=target)
|
||
|
.navigation-button
|
||
|
i(class="fa fa-" + icon)
|
||
|
span.navigation-text= name
|