2017-06-12 20:06:31 +02:00

7 lines
311 B
Plaintext

component ProfileImage(user *arn.User)
if user.Avatar != ""
img.profile-image(src=user.Avatar + "?s=560&r=x&d=mm", alt="Profile image")
else
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")