7 lines
311 B
Plaintext
Raw Normal View History

2016-11-20 10:26:11 +00:00
component ProfileImage(user *arn.User)
if user.Avatar != ""
2017-06-12 18:06:31 +00:00
img.profile-image(src=user.Avatar + "?s=560&r=x&d=mm", alt="Profile image")
2016-11-20 10:26:11 +00:00
else
2017-06-12 18:06:31 +00:00
svg.profile-image(width=280, height=280, viewBox="0 0 50 50", alt="Profile image")
circle.head(cx="25", cy="19", r="10")
circle.body(cx="25", cy="50", r="20")