12 lines
444 B
Plaintext
Raw Normal View History

2017-11-30 02:21:37 +00:00
component Genres(genres []string, genreToAnime map[string]*arn.Anime, user *arn.User)
2017-11-30 01:59:19 +00:00
h1 Genres
2016-11-19 19:53:33 +00:00
2017-11-30 01:59:19 +00:00
.genres
each genre in genres
a.genre.genre-squared.mountable(href="/genre/" + strings.ToLower(genre))
2017-11-30 01:59:19 +00:00
.genre-text.front
.genre-icon
RawIcon(arn.GetGenreIcon(genre))
2017-11-30 02:39:00 +00:00
span.genre-text-only= genre
2017-11-10 15:13:54 +00:00
2018-03-16 21:40:38 +00:00
img.genre-image.back(src=genreToAnime[genre].ImageLink("medium"), alt=genreToAnime[genre].Title.ByUser(user), title=genre)