(ns tubo.views.playlists (:require [re-frame.core :as rf] [tubo.components.items :as items] [tubo.components.layout :as layout] [tubo.events :as events])) (defn playlists-page [] (let [service-color @(rf/subscribe [:service-color]) bookmarks @(rf/subscribe [:bookmarks])] [layout/content-container [layout/content-header "Bookmarks" [layout/primary-button "Enqueue" #(rf/dispatch [::events/enqueue-related-streams bookmarks service-color]) "fa-solid fa-headphones"]] [items/related-streams bookmarks]]))