💄 Swapped the position of the liked and added tab for user tracks
This commit is contained in:
parent
585a429e52
commit
9bbea14f6c
@ -26,7 +26,7 @@ component ProfileTabs(viewUser *arn.User, uri string)
|
|||||||
Tab("Anime", "th", "/+" + viewUser.Nick)
|
Tab("Anime", "th", "/+" + viewUser.Nick)
|
||||||
Tab("Collection", "list", "/+" + viewUser.Nick + "/animelist/watching")
|
Tab("Collection", "list", "/+" + viewUser.Nick + "/animelist/watching")
|
||||||
Tab("Forum", "comment", "/+" + viewUser.Nick + "/forum/threads")
|
Tab("Forum", "comment", "/+" + viewUser.Nick + "/forum/threads")
|
||||||
Tab("Tracks", "music", "/+" + viewUser.Nick + "/soundtracks/added")
|
Tab("Tracks", "music", "/+" + viewUser.Nick + "/soundtracks/liked")
|
||||||
Tab("Stats", "area-chart", "/+" + viewUser.Nick + "/stats")
|
Tab("Stats", "area-chart", "/+" + viewUser.Nick + "/stats")
|
||||||
Tab("Followers", "users", "/+" + viewUser.Nick + "/followers")
|
Tab("Followers", "users", "/+" + viewUser.Nick + "/followers")
|
||||||
|
|
||||||
@ -34,8 +34,8 @@ component ProfileTabs(viewUser *arn.User, uri string)
|
|||||||
StatusTabs("/+" + viewUser.Nick + "/animelist")
|
StatusTabs("/+" + viewUser.Nick + "/animelist")
|
||||||
if strings.Contains(uri, "/soundtracks")
|
if strings.Contains(uri, "/soundtracks")
|
||||||
.tabs
|
.tabs
|
||||||
Tab("Added", "music", "/+" + viewUser.Nick + "/soundtracks/added")
|
|
||||||
Tab("Liked", "heart", "/+" + viewUser.Nick + "/soundtracks/liked")
|
Tab("Liked", "heart", "/+" + viewUser.Nick + "/soundtracks/liked")
|
||||||
|
Tab("Added", "music", "/+" + viewUser.Nick + "/soundtracks/added")
|
||||||
|
|
||||||
component ProfileHeader(viewUser *arn.User, user *arn.User, uri string)
|
component ProfileHeader(viewUser *arn.User, user *arn.User, uri string)
|
||||||
ProfileHead(viewUser, user, uri)
|
ProfileHead(viewUser, user, uri)
|
||||||
|
Loading…
Reference in New Issue
Block a user