aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tau/views.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/tau/views.cljs')
-rw-r--r--src/frontend/tau/views.cljs22
1 files changed, 11 insertions, 11 deletions
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])]