     (if (clojure.string/starts-with? browser-lang "it")
       :italian
       :english)))
-
-;; this is quite bootstrap specific in a way
-;; would be good to extract even further
-(defn navbar
-  []
-  (let [language (subscribe [:current-language])
-        tr (fn [s] (translate @language s))]
-
-    (fn []
-      [:nav {:class "navbar navbar-dark bg-primary"}
-       [:div {:class "container-fluid"}
-        [:div {:class "navbar-header"}
-         [:a {:class "navbar-brand" :href "#"} "Home" ]]
-
-        (into
-         [:ul {:class "nav navbar-nav"}]
-         (for [sec (keys SECTIONS)]
-           [:li {:key (name sec)}
-            [:a {:href (str "#" (name sec))} (tr sec)]]))
-        
-        [:ul {:class "nav navbar-right" :key "language"}
-         (lang-selection @language)]
-        ]])))
 
 ;; should dispatch the right language also here of course
 (defn add-to-calendar

(defn main-panel
  []
  (fn []
    [:g
     (into [navbar]
           (vals SECTIONS))]))

   [just-married.payment-views :as payment-views]
   [just-married.countdown :as countdown]
   [just-married.settings :as settings]))

(defn get-browser-language
  "Return the language set in the browser, assuming that
