9 lines
656 B
Plaintext
Raw Normal View History

component Character(character *arn.Character, user *arn.User)
a.character(href="/character/" + character.ID)
2018-04-23 08:30:25 +00:00
img.character-image-medium.lazy(data-src=character.ImageLink("medium"), data-webp="true", data-color=character.AverageColor(), alt=character.Name.ByUser(user))
.image-title
2018-04-23 08:30:25 +00:00
.image-title-text= character.Name.ByUser(user)
2017-12-03 16:02:11 +00:00
component CharacterSmall(character *arn.Character, user *arn.User)
2018-04-23 08:30:25 +00:00
a.character.tip(href="/character/" + character.ID, aria-label=character.Name.ByUser(user))
img.character-image-small.lazy(data-src=character.ImageLink("small"), data-webp="true", data-color=character.AverageColor(), alt=character.Name.ByUser(user))