diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-12-01 22:47:00 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-12-01 22:47:00 +0100 |
commit | d6e3a4a09b968b5cba85d76b24f336ee1de68a1f (patch) | |
tree | 132ec6c2f8f79732856bcc3280341191198e6c83 | |
parent | 0fd925a7dc475a51abd861273d60200c7bc011ce (diff) |
feat: add modals container in top-level view
-rw-r--r-- | src/frontend/tubo/items/views.cljs | 1 | ||||
-rw-r--r-- | src/frontend/tubo/views.cljs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/tubo/items/views.cljs b/src/frontend/tubo/items/views.cljs index dbd93b4..2de6004 100644 --- a/src/frontend/tubo/items/views.cljs +++ b/src/frontend/tubo/items/views.cljs @@ -175,7 +175,6 @@ nil {:url (:url %)})] [:div.flex.flex-col.flex-auto.my-2.md:my-8 - [modals/modal] (if (empty? related-streams) [:div.flex.items-center.flex-auto.flex-col.justify-center.gap-y-4 [:i.fa-solid.fa-ghost.text-3xl] diff --git a/src/frontend/tubo/views.cljs b/src/frontend/tubo/views.cljs index 85f85d5..188c90b 100644 --- a/src/frontend/tubo/views.cljs +++ b/src/frontend/tubo/views.cljs @@ -3,6 +3,7 @@ [re-frame.core :as rf] [tubo.bg-player.views :as bg-player] [tubo.main-player.views :as main-player] + [tubo.modals.views :as modals] [tubo.navigation.views :as navigation] [tubo.notifications.views :as notifications] [tubo.queue.views :as queue])) @@ -13,6 +14,7 @@ dark-theme? @(rf/subscribe [:dark-theme])] [:div {:class (when dark-theme? :dark)} [:div.font-nunito-sans.min-h-screen.h-full.relative.flex.flex-col.dark:text-white.bg-neutral-100.dark:bg-neutral-900 + [modals/modal] [navigation/navbar current-match] [notifications/notifications-panel] [:div.flex.flex-col.flex-auto.justify-between.relative |