2018-04-22 14:12:00 +00:00
|
|
|
component Character(character *arn.Character, user *arn.User)
|
2018-03-23 20:33:19 +00:00
|
|
|
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))
|
2018-04-11 21:32:59 +00:00
|
|
|
.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
|
|
|
|
2018-04-22 14:12:00 +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))
|