65 lines
1.8 KiB
Plaintext
Raw Normal View History

component Users(users []*arn.User, url string)
2017-07-06 20:23:32 +00:00
h1.page-title Users
UsersTabs(url)
2017-07-19 11:08:12 +00:00
2018-06-30 03:59:18 +00:00
.user-avatars.mountable
2017-06-10 00:51:11 +00:00
each user in users
2018-06-30 03:59:18 +00:00
Avatar(user)
2017-10-07 08:52:59 +00:00
2018-11-06 11:20:19 +00:00
component UsersByCountry(users []*arn.User, countryName string)
if len(users) == 0
p.no-data.mountable= "Seems like there are no users in " + stringutils.Capitalize(countryName)
else
h1= "Users in " + users[0].Location.CountryName
.user-avatars.mountable
each user in users
Avatar(user)
component ProUsers(users []*arn.User, url string)
h1.page-title Supporters
UsersTabs(url)
.pro-avatars
each user in users
a.profile-image-container.mountable(href=user.Link())
ProfileImage(user)
.image-title
.image-title-text= user.Nick
.footer.mountable
p We are thankful to everyone supporting the site!
2017-11-30 15:40:52 +00:00
component UserLists(groups []*utils.UserList, url string)
h1.page-title Users
UsersTabs(url)
2017-11-30 15:40:52 +00:00
each group in groups
h3.user-list-name.mountable= group.Name
.user-avatars
each user in group.Users
.mountable
Avatar(user)
2017-11-30 16:20:15 +00:00
component StaffRecruitment
.footer.mountable
p
2018-04-10 10:54:48 +00:00
a(href="https://github.com/animenotifier/notify.moe#installation", target="_blank", rel="noopener") Interested in contributing code?
2017-11-30 16:20:15 +00:00
br
a(href="https://discord.gg/0kimAmMCeXGXuzNF", target="_blank", rel="noopener") Interested in editing data?
component UsersTabs(url string)
2017-10-07 08:52:59 +00:00
.tabs
Tab("Active", "users", "/users")
Tab("Games", "gamepad", "/users/games/osu")
Tab("Editors", "pencil", "/users/editors")
Tab("Supporters", "heart", "/users/pro")
Tab("Staff", "user-secret", "/users/staff")
2018-04-16 21:01:34 +00:00
//- Tab("Map", "map", "/users/map")
if strings.Contains(url, "/users/games")
.tabs
Tab("Osu", "gamepad", "/users/games/osu")
Tab("Overwatch", "overwatch", "/users/games/overwatch")
Tab("FFXIV", "gamepad", "/users/games/ffxiv")