2016-11-28 16:06:00 +00:00
|
|
|
component Navigation
|
|
|
|
nav#navigation
|
|
|
|
NavigationButton("Dash", "/", "inbox")
|
|
|
|
NavigationButton("Anime", "/anime", "television")
|
|
|
|
NavigationButton("Forum", "/forum", "comment")
|
|
|
|
NavigationButton("Genres", "/genres", "tags")
|
|
|
|
NavigationButton("Airing", "/airing", "rss")
|
2016-12-06 11:06:13 +00:00
|
|
|
//- NavigationButton("Users", "/users", "globe")
|
2016-11-28 16:06:00 +00:00
|
|
|
|
|
|
|
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
|