15 lines
492 B
Plaintext
Raw Normal View History

component Genre(genre string, animes []*arn.Anime, user *arn.User, userScore float64)
h1(title=fmt.Sprint(len(animes)) + " anime")= strings.Title(genre)
2018-07-03 16:33:35 +03:00
2018-07-03 23:33:40 +09:00
//- if user != nil
//- h2= fmt.Sprintf("%.1f", userScore)
.corner-buttons-hide-on-mobile
2018-03-17 22:09:17 +01: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 20:40:41 +01:00
RawIcon("clone")
AnimeGrid(animes, user)