diff options
Diffstat (limited to 'src/frontend/tubo/views.cljs')
-rw-r--r-- | src/frontend/tubo/views.cljs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/frontend/tubo/views.cljs b/src/frontend/tubo/views.cljs index a0bc34c..85f85d5 100644 --- a/src/frontend/tubo/views.cljs +++ b/src/frontend/tubo/views.cljs @@ -1,14 +1,15 @@ (ns tubo.views (:require [re-frame.core :as rf] + [tubo.bg-player.views :as bg-player] + [tubo.main-player.views :as main-player] [tubo.navigation.views :as navigation] [tubo.notifications.views :as notifications] - [tubo.player.views :as player] [tubo.queue.views :as queue])) (defn app [] - (let [current-match @(rf/subscribe [:current-match]) + (let [current-match @(rf/subscribe [:navigation/current-match]) 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 @@ -20,5 +21,5 @@ :view)] [view current-match]) [queue/queue] - [player/main-player] - [player/background-player]]]])) + [main-player/player] + [bg-player/player]]]])) |