12 lines
415 B
Plaintext
12 lines
415 B
Plaintext
component Genres(genres []string, genreToAnime map[string]*arn.Anime, user *arn.User)
|
|
h1 Genres
|
|
|
|
.genres
|
|
each genre in genres
|
|
a.genre.mountable.ajax(href="/genre/" + strings.ToLower(genre))
|
|
.genre-text.front
|
|
.genre-icon
|
|
RawIcon(arn.GetGenreIcon(genre))
|
|
span= genre
|
|
|
|
img.genre-image.back(src=genreToAnime[genre].Image("medium"), alt=genreToAnime[genre].Title.ByUser(user), title=genre) |