14 lines
508 B
Plaintext
14 lines
508 B
Plaintext
component Navigation
|
|
nav#navigation
|
|
NavigationButton("Dash", "/", "inbox")
|
|
NavigationButton("Anime", "/anime", "television")
|
|
NavigationButton("Forum", "/forum", "comment")
|
|
NavigationButton("Users", "/users", "globe")
|
|
NavigationButton("Airing", "/airing", "rss")
|
|
//- NavigationButton("Users", "/users", "globe")
|
|
|
|
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 |