diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-10-16 00:20:13 +0200 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-10-16 00:20:13 +0200 |
commit | 6aa62872b8cdc1907e7e720dd69df6489086e210 (patch) | |
tree | 588daebbd432563c1b43247c3e3ef8729b62a22b /src/frontend | |
parent | d697dedf1c503cb051abf36936f68fcbe937e8eb (diff) |
feat(frontend): refine nav and footer styles
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/tubo/views.cljs | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/frontend/tubo/views.cljs b/src/frontend/tubo/views.cljs index 643a9f2..7194a31 100644 --- a/src/frontend/tubo/views.cljs +++ b/src/frontend/tubo/views.cljs @@ -25,10 +25,11 @@ [:nav.flex.px-2.py-2.5.items-center.sticky.top-0.z-50.font-nunito {:style {:background service-color}} [:div.flex.items-center.justify-between.flex-auto - [:div.py-2 - [:a.px-5.text-white.font-bold + [:div.px-2 + [:a.text-white.font-bold {:href (rfe/href ::routes/home)} - "tubo"]] + [:img.mb-1 {:src "/images/tubo.png" :style {:maxHeight "35px" :maxWidth "50px"} + :title "Tubo"}]]] [:form.flex.items-center.relative {:on-submit (fn [e] (.preventDefault e) @@ -64,7 +65,8 @@ :style {:background "transparent"}} (when services (for [service services] - [:option.bg-neutral-900.border-none {:value (:id service) :key (:id service)} + [:option.bg-neutral-900.border-none + {:value (:id service) :key (:id service)} (-> service :info :name)]))]] [:div.flex.absolute.min-h-full.top-0.right-4.ml:right-0.items-center.justify-end.z-0.ml:text-white [:i.fa-solid.fa-caret-down]]] @@ -82,9 +84,10 @@ [:div.bg-neutral-300.dark:bg-black.dark:text-gray-300.p-5.text-center.w-full [:div.flex.flex-col.justify-center.items-center [:div.flex.items-center.justify-center - [:div.items-center + [:div.items-center.font-nunito [:a {:href "https://github.com/migalmoreno/tubo" :target "_blank"} - "https://github.com/migalmoreno/tubo"]]]]]]) + [:i.fa-brands.fa-github] + [:span.ml-2.font-bold "Source"]]]]]]]) (defn app [] |