Minor code reorganization and wip of colors page.

This commit is contained in:
Andrey Antukh 2015-12-20 20:19:07 +02:00
parent a93c6bfa45
commit 9c2c7f40ba
13 changed files with 221 additions and 56 deletions

View file

@ -17,10 +17,9 @@
(defn- header-link
[section content]
(let [link (r/route-for section)
on-click #(rs/emit! (dp/set-dashboard-section section))]
(let [link (r/route-for section)]
(html
[:a {:href (str "/#" link) :on-click on-click} content])))
[:a {:href (str "/#" link)} content])))
(defn header-render
[own]