7 lines
274 B
Plaintext
7 lines
274 B
Plaintext
component ProfileImage(user *arn.User)
|
|
if user.HasAvatar()
|
|
img.profile-image(src=user.LargeAvatar(), alt="Profile image")
|
|
else
|
|
svg.profile-image(viewBox="0 0 50 50", alt="Profile image")
|
|
circle.head(cx="25", cy="19", r="10")
|
|
circle.body(cx="25", cy="50", r="20") |