Overall score for Genre for user

Requires styling work (out of my skills 100%)
Basic mechanics added and someone should continue for styles.
This commit is contained in:
Jarmo Riikonen
2018-07-02 20:57:44 +03:00
parent ec2d9d98fd
commit 54e0f4fc09
2 changed files with 25 additions and 2 deletions

View File

@ -1,5 +1,6 @@
component Genre(genre string, animes []*arn.Anime, user *arn.User)
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
if user != nil