Skip to content

Commit

Permalink
Default to tweet search
Browse files Browse the repository at this point in the history
  • Loading branch information
cmj committed Sep 28, 2024
1 parent 3baed20 commit d89893f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/search.nim
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ proc renderSearch*(): VNode =
buildHtml(tdiv(class="panel-container")):
tdiv(class="search-bar"):
form(`method`="get", action="/search", autocomplete="off"):
hiddenField("f", "users")
hiddenField("f", "tweets")
input(`type`="text", name="q", autofocus="",
placeholder="Enter username...", dir="auto")
placeholder="Search...", dir="auto")
button(`type`="submit"): icon "search"

proc renderProfileTabs*(query: Query; username: string; cfg: Config): VNode =
Expand Down

0 comments on commit d89893f

Please sign in to comment.