 
         (dom/div #js {:className "pad30"})))))
 
-(def course-with-topics (om/factory CourseWithTopics))
-
+(def course-with-topics (om/factory CourseWithTopics {:keyfn :db/id}))
+

              "Welcome to Dave Conservatoire")))))))

(def hero (om/factory Hero))

(om/defui ^:once Testcomp
  Object
  (render [this]
    (let [{:keys []} (om/props this)]
      (dom/div #js {:className "test"}
        "my Div"))))

(def testcomp (om/factory Testcomp))

#_(declare footer)

(om/defui ^:once Homeboxes
  Object

          (dom/div #js {:className "inner_content"}
            (dom/div #js {:className "pad30"})
            (dom/h1 #js {:className "title"} title)
            (dom/h1 #js {:className "intro" :dangerouslySetInnerHTML #js {:__html intro}})))))))

(def course-banner (om/factory CourseBanner))

(om/defui ^:once HomeCourseTopic
  static om/IQuery
  (query [_] [:db/id :topic/title :url/slug])

  static om/Ident
  (ident [_ props] (u/model-ident props))
