2016-11-20 10:26:11 +00:00
|
|
|
component ProfileImage(user *arn.User)
|
|
|
|
if user.Avatar != ""
|
2017-06-12 22:06:35 +00:00
|
|
|
img.profile-image(src=user.Avatar, alt="Profile image")
|
2016-11-20 10:26:11 +00:00
|
|
|
else
|
2017-06-12 22:06:35 +00:00
|
|
|
svg.profile-image(viewBox="0 0 50 50", alt="Profile image")
|
2017-06-12 18:06:31 +00:00
|
|
|
circle.head(cx="25", cy="19", r="10")
|
|
|
|
circle.body(cx="25", cy="50", r="20")
|