 (defonce app-state
   (atom {:nav {:selected :details}
          :rsvp {:input "", :results nil}}))
-
-(defn main-view [{:keys [nav rsvp] :as data} owner]
-  (reify om/IRender
-    (render [_]
-      (println "@app-state" data)
-      (html
-       [:div
-        (om/build nav-view nav)
-        (case (-> data :nav :selected)
-          :details (om/build details-view data)
-          :where-to-stay (om/build where-to-stay-view data)
-          :rsvp (om/build rsvp-view rsvp))]))))
 
 (defn nav-view [{:keys [selected] :as data} owner]
   (reify om/IRender

(defn rsvp-search-results-view [{:keys [results]} owner]
  (reify
    om/IRenderState
    (render-state [_ {:keys [contact] :as state}]
      (html
       [:main
        (condp <= (count results)
          2 [:h2 (str "Oops! There are multiple matches for '" query "'")]
          1 (om/build rsvp-search-results-one-view (first results))
          0 "Zero!")]))))

(defn main []
  (om/root main-view app-state {:target (. js/document (getElementById "app"))}))

     [:p {:align "center"}
      [:a {:href "https://goo.gl/maps/wXKle"} "Kinfolk 94"]
      [:br] "94 Wythe Ave."
      [:br] "Brooklyn, NY 11249"
      [:br] "(near the Bedford L stop, or the Nassau G stop)"]
     [:p
      "We would love it if you could "
