2017-11-30 00:47:12 +00:00
|
|
|
component Genre(genre string, animes []*arn.Anime, user *arn.User)
|
2018-04-25 20:15:42 +00:00
|
|
|
h1(title=fmt.Sprint(len(animes)) + " anime")= strings.Title(genre)
|
2017-12-02 20:06:15 +00:00
|
|
|
|
|
|
|
.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")
|
2017-12-02 20:06:15 +00:00
|
|
|
|
2018-03-23 20:33:19 +00:00
|
|
|
a.button(href="/genres", title="View genres")
|
2018-03-07 19:40:41 +00:00
|
|
|
RawIcon("clone")
|
|
|
|
|
2017-11-30 00:47:12 +00:00
|
|
|
AnimeGrid(animes, user)
|