2016-12-06 12:36:31 +09:00

14 lines
505 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")
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