From a582e823f8103d8ae45f698238d2bc6d85bcf5c4 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Fri, 19 Apr 2024 16:10:48 +0200 Subject: feat: remove navigation buttons --- src/frontend/tubo/components/navigation.cljs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/frontend') 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 -- cgit v1.2.3