mirror of
https://github.com/status-im/reagent.git
synced 2025-01-15 06:14:08 +00:00
19 lines
579 B
Clojure
19 lines
579 B
Clojure
(ns reagentdemo.news
|
|
(:require [reagentdemo.news.anyargs :as anyargs]
|
|
[reagentdemo.news.async :as async]
|
|
[reagentdemo.news.undodemo :as undodemo]
|
|
[reagentdemo.news.clockpost :as clock]
|
|
[reagentdemo.news.news050 :as news050]
|
|
[sitetools.core :as tools]))
|
|
|
|
(defn main []
|
|
[:div
|
|
[news050/main {:summary true}]
|
|
[clock/main {:summary true}]
|
|
[anyargs/main {:summary true}]
|
|
[async/main {:summary true}]
|
|
[undodemo/main {:summary true}]])
|
|
|
|
(def url "/news/index.html")
|
|
(tools/register-page url [#'main] "News")
|