diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-12-31 11:57:23 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-12-31 11:57:23 +0100 |
commit | 28ea3d15d07e6124f55227aa024bdbe35c3f3792 (patch) | |
tree | 2287fdda3bbdb21bc5f02f9f6823c50733a26eb9 /src/frontend/tau | |
parent | 5fc4b8d6edb031cd4a65f788f15832eb659fd2bf (diff) |
feat: Change order of footer in views
Diffstat (limited to 'src/frontend/tau')
-rw-r--r-- | src/frontend/tau/views.cljs | 22 |
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])] |