mirror of
https://github.com/penpot/penpot.git
synced 2025-05-15 12:56:37 +02:00
Minor code reorganization and wip of colors page.
This commit is contained in:
parent
a93c6bfa45
commit
9c2c7f40ba
13 changed files with 221 additions and 56 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue