Make tabs mountable on profiles

This commit is contained in:
Eduard Urbach 2018-11-01 17:25:01 +09:00
parent 7670173b6a
commit 0b2e88fb94

View File

@ -18,7 +18,7 @@ component Profile(viewUser *arn.User, user *arn.User, animeList *arn.AnimeList,
span JSON
component ProfileTabs(viewUser *arn.User, uri string)
.tabs
.tabs.mountable.never-unmount
Tab("Anime", "th", "/+" + viewUser.Nick)
Tab("Characters", "child", "/+" + viewUser.Nick + "/characters/liked")
Tab("Forum", "comment", "/+" + viewUser.Nick + "/forum/threads")