             [trak.ui.components :as components]
             [trak.globals :as globals]
             [trak.ui.components.landing :as landing]
-            [trak.ui.components.profile :as profile]))
+            [trak.ui.components.profile :as profile]
+            [trak.ui.components.tracks :as tracks]
+            ))
 
 
 ;(defn album-artists [artists]

;(rum/defc profile [me]
;  [:div [:h2 (:me/display_name me)] (:me/country me)])
;
;(rum/defc profile-base [*db]
;  (let [me (db/me *db)]
;    (utils/info me (:me/status me))
;    (cond
;      (= :logged-out (:me/status me)) (profile-login)
;      (= :logged-in (:me/status me)) (profile me)
;      (= :loading (:me/status me)) [:div "Loading..."])))

(rum/defc topbar [*db]
  (let [me (db/me *db)]
    [:section.section.section-header.bg-gray
     [:section.grid-header.container.grid-960
      [:nav.navbar

;    [:h6.card-subtitle (album-artists (:album/artists album))]]
;   [:.card-body "Available markets " (map (fn [m] (str m " ")) (:album/available_markets album))]])
;
;(rum/defc albums [db]
;  (let [albums (db/get-albums db)]
;    [:.columns (map (fn [album] [:.column.col-6.col-xs-12 {:key (:db/id album)} (album-card album)]) albums)]))

;(rum/defc profile-login []
