New anime overview for characters
This commit is contained in:
parent
a4fcd3c2f4
commit
4fbe73a1d0
@ -48,8 +48,12 @@ component CharacterDetails(character *arn.Character, characterAnime []*arn.Anime
|
||||
|
||||
.character-anime.mountable
|
||||
each anime in characterAnime
|
||||
a.character-anime-item.tip.mountable(href=anime.Link(), aria-label=anime.Title.ByUser(user), data-mountable-type="anime")
|
||||
.character-anime-item
|
||||
.character-anime-item-overview
|
||||
a.tip.mountable(href=anime.Link(), aria-label=anime.Title.ByUser(user), data-mountable-type="anime")
|
||||
img.character-anime-item-image.lazy(data-src=anime.ImageLink("small"), data-webp="true", data-color=anime.AverageColor(), alt=anime.Title.ByUser(user))
|
||||
.character-anime-item-details
|
||||
a(href=anime.Link())= anime.TitleByUser(user)
|
||||
|
||||
if len(quotes) > 0
|
||||
.character-section
|
||||
|
@ -47,11 +47,19 @@
|
||||
horizontal-wrap
|
||||
|
||||
.character-anime-item
|
||||
horizontal
|
||||
width 100%
|
||||
max-width 440px
|
||||
|
||||
.character-anime-item-overview
|
||||
anime-mini-item
|
||||
|
||||
.character-anime-item-image
|
||||
anime-mini-item-image
|
||||
|
||||
.character-anime-item-details
|
||||
margin-left 1rem
|
||||
|
||||
.character-spoiler
|
||||
margin typography-margin 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user