 ;; -------------------------
 ;; Routes
 
-(secretary/defroute "/" []
+(secretary/defroute "/app" []
   (session/put! :current-page #'home-page))
 
-(secretary/defroute "/about" []
+(secretary/defroute "/app/about" []
   (session/put! :current-page #'about-page))
 
 ;; -------------------------

;; Views

(defn home-page []
  [:div [:h2 "Welcome to mykproject"]
   [:div [:a {:href "/about"} "go to about page"]]])

(defn about-page []
  [:div [:h2 "About myproject"]
   [:div [:a {:href "/"} "go to the home page"]]])

(defn current-page []
  [:div [(session/get :current-page)]])

  (accountant/dispatch-current!)
  (mount-root))

;---------------------------
;; Run app
(init!)
