Make user search results clickable

This commit is contained in:
Zed 2019-09-20 02:49:54 +02:00
parent 28a1544cc0
commit a8c0842228

View file

@ -44,6 +44,7 @@ proc threadFilter(it: Tweet; tweetThread: string): bool =
proc renderUser(user: Profile; prefs: Prefs): VNode =
buildHtml(tdiv(class="timeline-item")):
a(class="tweet-link", href=("/" & user.username))
tdiv(class="tweet-body profile-result"):
tdiv(class="tweet-header"):
a(class="tweet-avatar", href=("/" & user.username)):