aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-04-19 16:10:48 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-04-19 16:35:54 +0200
commita582e823f8103d8ae45f698238d2bc6d85bcf5c4 (patch)
tree2e8b3a48c779893a35429bb738c55ba34c13c810 /src
parent03cf77e3bb72758e7b24e03847bf204706a1f6fe (diff)
feat: remove navigation buttons
Diffstat (limited to 'src')
-rw-r--r--src/frontend/tubo/components/navigation.cljs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/frontend/tubo/components/navigation.cljs b/src/frontend/tubo/components/navigation.cljs
index 0339490..2d2216f 100644
--- a/src/frontend/tubo/components/navigation.cljs
+++ b/src/frontend/tubo/components/navigation.cljs
@@ -7,15 +7,6 @@
[tubo.events :as events]
[tubo.routes :as routes]))
-(defn navigation-buttons [service-color]
- [:div.flex.items-center.text-white.ml-4
- [:button.mx-2.outline-none.focus:ring-transparent
- {:on-click #(rf/dispatch [::events/history-go -1])}
- [:i.fa-solid.fa-arrow-left]]
- [:button.mx-2.outline-none.focus:ring-transparent
- {:on-click #(rf/dispatch [::events/history-go 1])}
- [:i.fa-solid.fa-arrow-right]]])
-
(defn search-form []
(let [!query (r/atom "")
!input (r/atom nil)]
@@ -153,8 +144,6 @@
{:href (rfe/href ::routes/home)}
[layout/logo]]]
[search-form]
- [:div {:class (when show-search-form? "hidden")}
- [navigation-buttons service-color]]
[:div.flex.flex-auto.justify-end.lg:justify-between
{:class (when show-search-form? "hidden")}
[:div.hidden.lg:flex