 
 ;; -------------------------
 ;; Routes
+
 (secretary/set-config! :prefix "#")
 
 (secretary/defroute "/" []
-  (session/put! :current-page #'home-page))
-
-(secretary/defroute "/about" []
-  (session/put! :current-page #'about-page))
+  (session/put! :current-page #'landing-page))
+
+(secretary/defroute "/signin" []
+  (session/put! :current-page #'signin-page))
+
+(secretary/defroute "/signup" []
+  (session/put! :current-page #'signup-page))
+
+(secretary/defroute "/propose" []
+  (session/put! :current-page #'propose-page))
+
+(secretary/defroute "/bet/:id" {:as params}
+  (session/put! :current-page #'bet-page)
+  (js/console.log (str "Bet: " (:id params)))
+  )
+
+(secretary/defroute "/profile" []
+  (session/put! :current-page #'profile-page))
+
+(secretary/defroute "/finances" []
+  (session/put! :current-page #'finances-page))
 
 ;; -------------------------
 ;; History
 ;; must be called after routes have been defined
+(defn activate-dropdowns []
+  (.dropdown ($ ".profile-dropdown-navbar-item"))
+  (.dropdown ($ ".signin-dropdown-navbar-item"))
+             )
 (defn hook-browser-navigation! []
   (doto (History.)
     (events/listen

       [:a {:href "#!" :class "brand-logo"} "Bababet"]
       [:ul {:class "right hide-on-med-and-down"}
        [:li
         [:a {:href "#/home"} "Home"]]
        [:li
         [:a {:href "#/bet"} "Bet"]]
        [:li

(defn mount-root []
  (reagent/render [current-page] (.getElementById js/document "app")))


;;$(".profile-dropdown-navbar-item").dropdown()

