Added stylish mountable effect
This commit is contained in:
@ -6,11 +6,11 @@ component Navigation(user *arn.User)
|
||||
|
||||
component LoggedOutMenu
|
||||
nav#navigation
|
||||
NavigationButton("Dash", "/", "inbox")
|
||||
NavigationButton("About", "/", "question-circle")
|
||||
NavigationButton("Anime", "/anime", "television")
|
||||
NavigationButton("Forum", "/forum", "comment")
|
||||
NavigationButton("Users", "/users", "globe")
|
||||
NavigationButton("Airing", "/airing", "rss")
|
||||
NavigationButton("Airing", "/airing", "th")
|
||||
|
||||
component LoggedInMenu(user *arn.User)
|
||||
nav#navigation
|
||||
@ -22,7 +22,7 @@ component LoggedInMenu(user *arn.User)
|
||||
|
||||
.extra-navigation
|
||||
ExtraNavigationButton("Users", "/users", "globe")
|
||||
ExtraNavigationButton("Airing", "/airing", "rss")
|
||||
ExtraNavigationButton("Airing", "/airing", "th")
|
||||
|
||||
if user.Role == "admin"
|
||||
ExtraNavigationButton("Admin", "/admin", "wrench")
|
||||
|
@ -1,5 +1,5 @@
|
||||
component Postable(post arn.Postable, viewUser *arn.User, highlightAuthorID string)
|
||||
.post(data-highlight=post.Author().ID == highlightAuthorID)
|
||||
.post.mountable(data-highlight=post.Author().ID == highlightAuthorID)
|
||||
.post-author
|
||||
Avatar(post.Author())
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
component ThreadLink(thread *arn.Thread)
|
||||
.thread-link(data-sticky=thread.Sticky)
|
||||
.thread-link.mountable(data-sticky=thread.Sticky)
|
||||
.post-author.thread-author
|
||||
Avatar(thread.Author())
|
||||
.thread-content-container
|
||||
|
Reference in New Issue
Block a user