13 lines
445 B
Plaintext
Raw Normal View History

component Genre(genre string, animes []*arn.Anime, user *arn.User, userScore string)
h1(title=fmt.Sprint(len(animes)) + " anime")= strings.Title(genre)
h2()= userScore
.corner-buttons-hide-on-mobile
2018-03-17 21:09:17 +00:00
if user != nil
button.action(data-trigger="click", data-action="hideAddedAnime", title="Hide anime in my collection")
RawIcon("eye-slash")
a.button(href="/genres", title="View genres")
2018-03-07 19:40:41 +00:00
RawIcon("clone")
AnimeGrid(animes, user)