        [:section.todoapp
         [:header#header
          [:h1 "penjat"]]
-        [(get body-by-page @current-page)]]
-       [:footer.info
-        [(get footer-by-page @current-page)]]])))
+        [(get body-by-page @current-page)]]])))

  (fn start-page-render
    []
    [choose-word-input {:class "new-todo"
                        :placeholder ""
                        :on-save #(dispatch [:set-word %])}]))

(defn play-page

        guesses (subscribe [:guesses])]
      (fn end-page-render
        []
        (let [text (if (win-game? @word @guesses)
                 "HAS GUANYAT :D !!!!"
                 [:div "Has perdut :'(  --> La paraula era " [:b @word]])]
          [:div.new-todo text]))))


(def body-by-page {:start start-page
                   :end end-page
                   :play play-page})


(defn penjat-app
