From 28ea3d15d07e6124f55227aa024bdbe35c3f3792 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Sat, 31 Dec 2022 11:57:23 +0100 Subject: feat: Change order of footer in views --- src/frontend/tau/views.cljs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/tau/views.cljs b/src/frontend/tau/views.cljs index 16b73af..d425a26 100644 --- a/src/frontend/tau/views.cljs +++ b/src/frontend/tau/views.cljs @@ -12,17 +12,6 @@ (defonce services (rf/dispatch [::events/get-services])) (defonce kiosks (rf/dispatch [::events/get-kiosks 0])) -(defn footer - [] - [:footer - [:div.bg-black.text-gray-300.p-5.text-center.w-full - [:div.flex.flex-col.justify-center - [:div - [:p.px-2 (str "Tau " (.getFullYear (js/Date.)))]] - [:div.pt-4 - [:a {:href "https://sr.ht/~conses/tau"} - [:i.fa-solid.fa-code]]]]]]) - (defn navbar [{{:keys [serviceId]} :query-params}] (let [service-id @(rf/subscribe [:service-id]) @@ -85,6 +74,17 @@ :kioskId kiosk})} kiosk]])]]]]])) +(defn footer + [] + [:footer + [:div.bg-black.text-gray-300.p-5.text-center.w-full + [:div.flex.flex-col.justify-center + [:div + [:p.px-2 (str "Tau " (.getFullYear (js/Date.)))]] + [:div.pt-4 + [:a {:href "https://sr.ht/~conses/tau"} + [:i.fa-solid.fa-code]]]]]]) + (defn app [] (let [current-match @(rf/subscribe [:current-match])] -- cgit v1.2.3