    (str card)])
 
 (defn card-input []
-  [:form {:on-submit #(do
-                       (swap! card-data/cards (conj @card-data/cards)
-                                              (get-card-input-value))
+  [:form {:onSubmit #(do
+                       (swap! the-cards conj
+                                             {:name (get-card-input-value)})
+                       (.log js/console (str @the-cards))
                        false)}
    [:input#the-input {:type "text"}]])
 

              [goog.history.EventType :as EventType]
              [decktouch.card-data :as card-data])
    (:import goog.History))

(defn get-card-input-value []
  (.-value (.getElementById js/document "the-input")))


(defn home-page []
  [:div [:h2 "Welcome to decktouch"]
   [:div (card-input)]
   [:div [card-list @the-cards]]
   [:div [:a {:href "#/about"} "go to about page"]]])

(defn about-page []
