 
 
 (def component-dir {:monitor    current-tabs
-                    :groups     div-tab-groups
                     :export     data-export
                     :import     data-import
                     :time-track div-timetrack})

(defn navbar-item [label section current]
  [:li {:class (when (= section current) "active")}
   [:a {:on-click #(dispatch [:app-state-item [:ui-state :section] section])} label
    (when (= section current) [:span {:class "sr-only"} "(current)"])]]
  )

(defn navbar []
  (let [section (subscribe [:ui-state :section])]

    {:app-state {:tabs tabs}
     :ui-state  {:section :time-track}}))


(register-handler
  :log-content
