mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Search progress
This commit is contained in:
parent
f707826241
commit
4c748b61a5
9 changed files with 227 additions and 47 deletions
|
|
@ -37,6 +37,9 @@ proc renderSearchTabs*(query: Option[Query]): VNode =
|
|||
var q = if query.isSome: get(query) else: Query()
|
||||
|
||||
buildHtml(ul(class="tab")):
|
||||
li(class=query.getTabClass("custom")):
|
||||
q.kind = custom
|
||||
a(href=genQueryUrl(q)): text "Tweets"
|
||||
li(class=query.getTabClass("users")):
|
||||
q.kind = users
|
||||
a(href=genQueryUrl(q)): text "Users"
|
||||
|
|
|
|||
Loading…
Reference in a new issue