Improve profile page elements, reduce jank

Fixes #167
This commit is contained in:
Zed
2022-01-17 05:50:45 +01:00
parent 43b0bdc08a
commit b01810e261
7 changed files with 31 additions and 39 deletions

View File

@@ -36,7 +36,6 @@ proc getBanner(user: User): string =
return user.profileBannerUrl & "/1500x500"
if user.profileLinkColor.len > 0:
return '#' & user.profileLinkColor
return "#161616"
proc parseUser*(json: string; username=""): Profile =
handleErrors: