        [:p dept]]]]))
 
 
-(defn about-page []
-  [:div [:h2 "About jiyi"]])
-
-(defn- extract-content [] (map #(-> % :body :Entries)))
-
-(defn <get-user 
-  [userid]
-  (http/jsonp "https://genome.klick.com:443/api/User.json"
-              {:query-params {"UserID" userid}
-               :channel (chan 1 (extract-content))}))
-
-(defn <search-user 
-  [keyword]
-  (http/jsonp "https://genome.klick.com:443/api/User.json"
-              {:query-params {:ForAutocompleter true
-                              :Enabled true
-                              :IsNotAPerson false
-                              :Keyword keyword}
-               :channel (chan 1 (extract-content))}))
-
-;; (go
-;;   (prn (<! (<search-user "ash"))))
-
-
 (defn SearchResults [results]
   [:div.row
    [:ul.collection
     (map (fn [result]
-           [:li.collection-item {:key (:UserID result)} (:Name result)])
+           [:li.collection-item ^{:key (:UserID result)} (:Name result)])
          results)]])
 
 (defn Search []


(enable-console-print!)

(defonce user (atom {}))
;; (defonce search-term (atom ""))
;; (defonce search-results (atom []))

;; -------------------------
;; Views



(defn home-page []
  [:div [:h2 "Yo, Welcome to jiyi"]])

(defn Card []
  (let [{:keys [id photo name title dept]} @user]
    [:div.card {:style {:width "400px" :height "600px"}}
     [:div.card-image.waves-effect.waves-block.waves-light

(secretary/defroute "/search" []
  (session/put! :current-page #'search))


;; -------------------------
;; History
