       [re-com/v-box
        :height "100%"
        :children [[header]
-                  [tabs]
                   (panels @active-panel)]])))

   {:id :game-panel :label "Game"}])

(defn header []
  (let [server-state (re-frame/subscribe [:server-state])]
    (fn [] [state-panel @server-state])))

(defn tabs []
  (let [selected-panel (re-frame/subscribe [:active-panel])]
    [re-com/horizontal-tabs
     :model selected-panel

(defmethod panels :default [] [:div])


(def tabs-definition
  [{:id :development-panel :label "Development"}
   {:id :home-panel :label "Home"}
