Skip to content

Commit

Permalink
Update friends.pug
Browse files Browse the repository at this point in the history
  • Loading branch information
katelinlis authored Sep 20, 2021
1 parent 0a5d688 commit 5c83bd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions views/friends.pug
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ block content
#users
if user.friends
each friend,index in user.friends.list
div#friend(style="margin-top:10px")
div#friend
a(href=`/user/${friend.id}`)
if friend.avatar
img(height="35px" width="35px" style=`border-radius: 100%;` src=`https://cdnsocial.katelinlis.xyz/public/clients/${friend.id}/100-${friend.avatar}`)
img(height="35px" width="35px" src=`https://cdnsocial.katelinlis.xyz/public/clients/${friend.id}/100-${friend.avatar}`)
else
img(height="35px" width="35px" style=`border-radius: 100%;` alt="user avatar" src="https://cdnsocial.katelinlis.xyz/public/UserProfileImage.svg")
span(style="font-size:14px;width:30px") #{friend.username}..
img(height="35px" width="35px" alt="user avatar" src="https://cdnsocial.katelinlis.xyz/public/UserProfileImage.svg")
span(style="font-size:14px;width:30px") #{friend.username}..

0 comments on commit 5c83bd0

Please sign in to comment.