mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-14 12:15:22 +00:00
Add user profile to user page
This commit is contained in:
@@ -11,7 +11,16 @@ html
|
||||
.Cover-stats
|
||||
.Cover-item-count #{tag.total_items} posts
|
||||
else if user
|
||||
.App-cover.NewCover.ProfileCover
|
||||
.App-cover.NewCover.ProfilesCover(style='background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("' + util.proxyURL(user.cover_url) + '");')
|
||||
.ProfileCover-header
|
||||
.ProfileMeta
|
||||
span.UserAvatar.ProfileMeta-avatar(style='background-image: url("' + util.proxyURL(user.avatar_url) + '");' title=user.username)
|
||||
.ProfileMeta-data
|
||||
.ProfileMeta-user= user.username
|
||||
.ProfileMeta-stats
|
||||
| #{user.reputation_count} pts
|
||||
span.ProfileMeta-divider •
|
||||
| #{user.reputation_name}
|
||||
.ProfilePosts-posts
|
||||
.ProfilePosts-top
|
||||
each post in posts
|
||||
@@ -54,5 +63,3 @@ html
|
||||
title Post views
|
||||
| <path d="M8 2.5C4.74998 2.5 2.30142 5.50267 1.27514 6.77517C0.925337 7.20917 0.908553 7.76483 1.2278 8.16583C2.22527 9.41833 4.6991 12.5 8 12.5C11.3686 12.5 13.8396 9.31133 14.796 8.0905C15.0769 7.732 15.0674 7.2535 14.7692 6.8755C13.7938 5.6395 11.3376 2.5 8 2.5ZM7.98224 9.33333C6.90897 9.33333 6.03887 8.51233 6.03887 7.5C6.03887 6.4875 6.90897 5.66667 7.98224 5.66667C9.05551 5.66667 9.92561 6.4875 9.92561 7.5C9.92561 8.51233 9.05551 9.33333 7.98224 9.33333Z" fill="currentColor"></path>
|
||||
.MediaBody= post.views
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user