Make tabs mountable on profiles
This commit is contained in:
parent
7670173b6a
commit
0b2e88fb94
@ -18,7 +18,7 @@ component Profile(viewUser *arn.User, user *arn.User, animeList *arn.AnimeList,
|
|||||||
span JSON
|
span JSON
|
||||||
|
|
||||||
component ProfileTabs(viewUser *arn.User, uri string)
|
component ProfileTabs(viewUser *arn.User, uri string)
|
||||||
.tabs
|
.tabs.mountable.never-unmount
|
||||||
Tab("Anime", "th", "/+" + viewUser.Nick)
|
Tab("Anime", "th", "/+" + viewUser.Nick)
|
||||||
Tab("Characters", "child", "/+" + viewUser.Nick + "/characters/liked")
|
Tab("Characters", "child", "/+" + viewUser.Nick + "/characters/liked")
|
||||||
Tab("Forum", "comment", "/+" + viewUser.Nick + "/forum/threads")
|
Tab("Forum", "comment", "/+" + viewUser.Nick + "/forum/threads")
|
||||||
|
Loading…
Reference in New Issue
Block a user