mirror of
https://github.com/penpot/penpot.git
synced 2025-07-24 09:37:25 +02:00
refactor dashboard sidebar
This commit is contained in:
parent
7d7cd1d3d6
commit
47de756080
3 changed files with 46 additions and 11 deletions
|
@ -200,15 +200,22 @@
|
|||
[:ul.library-elements
|
||||
[:li.recent-projects #_{:on-click #(st/emit! (udp/go-to-project nil))
|
||||
:class-name (when (nil? id) "current")}
|
||||
[:span.element-title "Recent"]]
|
||||
i/user
|
||||
[:span.element-title "Personal"]]
|
||||
|
||||
[:li.recent-projects {:on-click #(st/emit! (udp/go-to-project nil))
|
||||
[:li {:on-click #(st/emit! (udp/go-to-project nil))
|
||||
:class-name (when (nil? id) "current")}
|
||||
i/file-html
|
||||
[:span.element-title "Drafts"]]
|
||||
|
||||
[:li {:on-click #(st/emit! (udp/go-to-project nil))
|
||||
:class-name (when (nil? id) "current")}
|
||||
i/icon-set
|
||||
[:span.element-title "Libraries"]]
|
||||
|
||||
[:div.projects-row
|
||||
[:span "PROJECTS/TEAMS TODO"]
|
||||
#_[:a.add-project {:on-click #(st/emit! udp/create-project)}
|
||||
[:span "PROJECTS"]
|
||||
[:a.add-project {:on-click #(st/emit! udp/create-project)}
|
||||
i/close]]
|
||||
|
||||
#_(for [item projects]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue