Support quoted replies stat, update font

This commit is contained in:
Zed
2020-11-08 01:32:17 +01:00
parent 82fe5d8b78
commit b6a49fc4cb
13 changed files with 53 additions and 40 deletions

View File

@@ -186,6 +186,7 @@ proc renderStats(stats: TweetStats; views: string): VNode =
span(class="tweet-stat"): icon "comment", insertSep($stats.replies, ',')
span(class="tweet-stat"): icon "retweet", insertSep($stats.retweets, ',')
span(class="tweet-stat"): icon "heart", insertSep($stats.likes, ',')
span(class="tweet-stat"): icon "quote", insertSep($stats.quotes, ',')
if views.len > 0:
span(class="tweet-stat"): icon "play", insertSep(views, ',')