diff --git a/demo/reagentdemo/news.cljs b/demo/reagentdemo/news.cljs index 8f6527e..192b97a 100644 --- a/demo/reagentdemo/news.cljs +++ b/demo/reagentdemo/news.cljs @@ -2,7 +2,7 @@ (:require [reagent.core :as reagent :refer [atom]] [reagent.debug :refer-macros [dbg println]] [reagentdemo.syntax :refer-macros [get-source]] - [reagentdemo.common :as common :refer [demo-component title]] + [reagentdemo.common :as common :refer [demo-component title link]] [todomvc :as todomvc])) (def funmap (-> "reagentdemo/news.cljs" get-source common/fun-map)) @@ -46,6 +46,6 @@ (defn main [] (let [head "This should become news"] [:div.reagent-demo - [:h1 head] + [:h1 [link {:href :undo-demo} head]] [title head] [undo-demo-cleanup]])) diff --git a/site/demo.css b/site/demo.css index 0b6285f..f80d21d 100644 --- a/site/demo.css +++ b/site/demo.css @@ -67,6 +67,11 @@ ul.nav > li.brand > a { line-height: 1.25em; } +.reagent-demo > h1 > a { + color: inherit; + text-decoration: none; +} + @media (max-width: 768px) { body { width: auto;