diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-12-30 01:01:26 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-12-30 01:01:26 +0100 |
commit | c3b4e2d87a2031c3499e49f47c39c7119adeb170 (patch) | |
tree | 0c0348410a6fd3afe8a6c5e479e5660c030a0a60 /src/frontend/tau/views/player.cljs | |
parent | 45694468ccea8219c47dfc470e9e5ef885f671bd (diff) |
feat(frontend): Add basic global player
Diffstat (limited to 'src/frontend/tau/views/player.cljs')
-rw-r--r-- | src/frontend/tau/views/player.cljs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/frontend/tau/views/player.cljs b/src/frontend/tau/views/player.cljs deleted file mode 100644 index 732e542..0000000 --- a/src/frontend/tau/views/player.cljs +++ /dev/null @@ -1,11 +0,0 @@ -(ns tau.views.player - (:require - [re-frame.core :as rf])) - -(defn global-player - [] - (let [global-stream @(rf/subscribe [:global-stream]) - show-global-player? @(rf/subscribe [:show-global-player])] - [:div - [:audio {:src global-stream - :class (when-not show-global-player? "hidden")}]])) |