From 19b77dccf068fc6e5bc1ef65b6b3676d5b96b2c9 Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Tue, 28 Nov 2017 19:16:26 +0200 Subject: [PATCH] Add dates to news posts --- demo/reagentdemo/news.cljs | 14 +++++++++++++- demo/reagentdemo/news/anyargs.cljs | 2 ++ demo/reagentdemo/news/async.cljs | 2 ++ demo/reagentdemo/news/clockpost.cljs | 1 + demo/reagentdemo/news/news050.cljs | 1 + demo/reagentdemo/news/news051.cljs | 1 + demo/reagentdemo/news/news060.cljs | 1 + demo/reagentdemo/news/news060rc.cljs | 1 + demo/reagentdemo/news/news060release.cljs | 1 + demo/reagentdemo/news/news061.cljs | 1 + demo/reagentdemo/news/undodemo.cljs | 3 +++ 11 files changed, 27 insertions(+), 1 deletion(-) diff --git a/demo/reagentdemo/news.cljs b/demo/reagentdemo/news.cljs index 89c4bc0..68205c7 100644 --- a/demo/reagentdemo/news.cljs +++ b/demo/reagentdemo/news.cljs @@ -13,6 +13,12 @@ (defn main [] [:div + [:div.reagent-demo + [:h1 [:a {:href "https://github.com/reagent-project/reagent/blob/master/CHANGELOG.md#070-2017-06-27"} "Reagent 0.7.0"]] + [:span "2017-06-27"]] + [:div.reagent-demo + [:h1 [:a {:href "https://github.com/reagent-project/reagent/blob/master/CHANGELOG.md#062-2017-05-19"} "Reagent 0.6.2"]] + [:span "2017-05-19"]] [news061/main {:summary true}] [news060r/main {:summary true}] [news060rc/main {:summary true}] @@ -22,7 +28,13 @@ [clock/main {:summary true}] [anyargs/main {:summary true}] [async/main {:summary true}] - [undodemo/main {:summary true}]]) + [undodemo/main {:summary true}] + [:div.reagent-demo + [:h1 "Reagent 0.1.0"] + [:span "2014-01-10"]] + [:div.reagent-demo + [:h1 "Reagent 0.0.2"] + [:span "2013-12-17"]]]) (def url "/news/index.html") (tools/register-page url [#'main] "News") diff --git a/demo/reagentdemo/news/anyargs.cljs b/demo/reagentdemo/news/anyargs.cljs index 5bfcc94..2086859 100644 --- a/demo/reagentdemo/news/anyargs.cljs +++ b/demo/reagentdemo/news/anyargs.cljs @@ -37,6 +37,8 @@ jonase {:href "https://github.com/jonase"}] [:div.reagent-demo [:h1 [link {:href url} title]] + [:span "2014-02-15"] + [:div.demo-text [:h2 "If it looks like a function…"] diff --git a/demo/reagentdemo/news/async.cljs b/demo/reagentdemo/news/async.cljs index 340118b..a68687f 100644 --- a/demo/reagentdemo/news/async.cljs +++ b/demo/reagentdemo/news/async.cljs @@ -93,6 +93,8 @@ (let [om-article {:href "http://swannodette.github.io/2013/12/17/the-future-of-javascript-mvcs/"}] [:div.reagent-demo [:h1 [link {:href url} title]] + [:span "2014-01-30"] + [:div.demo-text [:h2 "Reagent gets async rendering"] diff --git a/demo/reagentdemo/news/clockpost.cljs b/demo/reagentdemo/news/clockpost.cljs index fa1c076..b9217c8 100644 --- a/demo/reagentdemo/news/clockpost.cljs +++ b/demo/reagentdemo/news/clockpost.cljs @@ -21,6 +21,7 @@ [:div.reagent-demo [:h1 [link {:href url} title]] + [:span "2014-02-26"] [:div.demo-text (when-not summary diff --git a/demo/reagentdemo/news/news050.cljs b/demo/reagentdemo/news/news050.cljs index 744d611..0679d3c 100644 --- a/demo/reagentdemo/news/news050.cljs +++ b/demo/reagentdemo/news/news050.cljs @@ -106,6 +106,7 @@ (defn main [{:keys [summary]}] [:div.reagent-demo [:h1 [link {:href url} title]] + [:span "2014-12-10"] [:div.demo-text [:p "Reagent 0.5.0 has automatic importing of React.js, two kinds of cursors, better integration of native React components, better diff --git a/demo/reagentdemo/news/news051.cljs b/demo/reagentdemo/news/news051.cljs index ef44c18..6c71203 100644 --- a/demo/reagentdemo/news/news051.cljs +++ b/demo/reagentdemo/news/news051.cljs @@ -35,6 +35,7 @@ (defn main [{:keys [summary]}] [:div.reagent-demo [:h1 [link {:href url} title]] + [:span "2015-09-09"] [:div.demo-text [:p "Reagent 0.5.1 contains a new convenient shortcut for nested elements, better error messages, new logic for maintaining cursor diff --git a/demo/reagentdemo/news/news060.cljs b/demo/reagentdemo/news/news060.cljs index 52ddd20..17af008 100644 --- a/demo/reagentdemo/news/news060.cljs +++ b/demo/reagentdemo/news/news060.cljs @@ -121,6 +121,7 @@ (defn main [{:keys [summary]}] [:div.reagent-demo [:h1 [link {:href url} title]] + [:span "2015-12-06"] [:div.demo-text [:p "Reagent 0.6.0-alpha contains new reactivity helpers, better integration with native React components, a new version of diff --git a/demo/reagentdemo/news/news060rc.cljs b/demo/reagentdemo/news/news060rc.cljs index b0093e8..3d3040a 100644 --- a/demo/reagentdemo/news/news060rc.cljs +++ b/demo/reagentdemo/news/news060rc.cljs @@ -25,6 +25,7 @@ (defn main [{:keys [summary]}] [:div.reagent-demo [:h1 [link {:href url} title]] + [:span "2016-09-14"] [:div.demo-text [:p "Reagent 0.6.0-rc has been given a lot of testing, a new version of React (15.1.0), bug fixing and some small general diff --git a/demo/reagentdemo/news/news060release.cljs b/demo/reagentdemo/news/news060release.cljs index 4ee77d7..c0aa03a 100644 --- a/demo/reagentdemo/news/news060release.cljs +++ b/demo/reagentdemo/news/news060release.cljs @@ -37,6 +37,7 @@ [:div.reagent-demo [:h1 [link {:href url} title]] + [:span "2016-06-09"] [:div [abstract] (if summary diff --git a/demo/reagentdemo/news/news061.cljs b/demo/reagentdemo/news/news061.cljs index 499c336..7e74ca2 100644 --- a/demo/reagentdemo/news/news061.cljs +++ b/demo/reagentdemo/news/news061.cljs @@ -24,6 +24,7 @@ [:div.reagent-demo [:h1 [link {:href url} title]] + [:span "2017-03-11"] [:div [abstract]]]) diff --git a/demo/reagentdemo/news/undodemo.cljs b/demo/reagentdemo/news/undodemo.cljs index 4b866ee..4468e02 100644 --- a/demo/reagentdemo/news/undodemo.cljs +++ b/demo/reagentdemo/news/undodemo.cljs @@ -52,6 +52,9 @@ (let [head title] [:div.reagent-demo [:h1 [link {:href url} head]] + ;; Undo demo originall added on 0a0dbdee7dfdaa545171d41fa1c3a18a1cae6e1b + [:span "2014-01-19"] + [:div.demo-text [:h2 "(reset! cloact-name \"Reagent\")"]