mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 19:38:28 +02:00
Remove useless menu from colors, elements and icons.
This commit is contained in:
parent
4b7d18128c
commit
241557f936
4 changed files with 0 additions and 74 deletions
|
@ -57,7 +57,6 @@
|
|||
[:main.dashboard-main
|
||||
(header)
|
||||
[:section.dashboard-content
|
||||
(elements/menu)
|
||||
(ui.library-bar/library-bar)
|
||||
[:section.dashboard-grid.library
|
||||
(elements/page-title)
|
||||
|
@ -91,7 +90,6 @@
|
|||
[:main.dashboard-main
|
||||
(header)
|
||||
[:section.dashboard-content
|
||||
(icons/menu)
|
||||
(icons/nav)
|
||||
(icons/grid)]]))
|
||||
|
||||
|
@ -123,7 +121,6 @@
|
|||
[:main.dashboard-main
|
||||
(header)
|
||||
[:section.dashboard-content
|
||||
(colors/menu)
|
||||
(colors/nav)
|
||||
(colors/grid)]]))
|
||||
|
||||
|
|
|
@ -33,26 +33,6 @@
|
|||
(as-> (ul/dep-in [:colors-by-id] [:dashboard :collection-id]) $
|
||||
(l/focus-atom $ st/state)))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Menu
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defn menu-render
|
||||
[]
|
||||
(let [pcount 20]
|
||||
(html
|
||||
[:section#dashboard-bar.dashboard-bar
|
||||
[:div.dashboard-info
|
||||
[:span.dashboard-projects pcount " projects"]
|
||||
[:span "Sort by"]]
|
||||
[:div.dashboard-search i/search]])))
|
||||
|
||||
(def ^:static menu
|
||||
(util/component
|
||||
{:render menu-render
|
||||
:name "colors-menu"
|
||||
:mixins [rum/reactive]}))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Page Title
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
|
|
@ -8,28 +8,6 @@
|
|||
[uxbox.ui.mixins :as mx]
|
||||
[uxbox.ui.util :as util]))
|
||||
|
||||
;; (def library-bar ui.library-bar/library-bar)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Menu
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defn menu-render
|
||||
[]
|
||||
(let [pcount 20]
|
||||
(html
|
||||
[:section#dashboard-bar.dashboard-bar
|
||||
[:div.dashboard-info
|
||||
[:span.dashboard-projects pcount " projects"]
|
||||
[:span "Sort by"]]
|
||||
[:div.dashboard-search i/search]])))
|
||||
|
||||
(def ^:static menu
|
||||
(util/component
|
||||
{:render menu-render
|
||||
:name "elements-menu"
|
||||
:mixins [rum/reactive]}))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Page Title
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
|
|
@ -25,35 +25,6 @@
|
|||
(as-> (l/in [:dashboard]) $
|
||||
(l/focus-atom $ st/state)))
|
||||
|
||||
;; (def ^:static collections-state
|
||||
;; (as-> (l/in [:icons-by-id]) $
|
||||
;; (l/focus-atom $ st/state)))
|
||||
|
||||
;; (def ^:static collection-state
|
||||
;; (as-> (ul/dep-in [:icons-by-id] [:dashboard :collection-id]) $
|
||||
;; (l/focus-atom $ st/state)))
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Menu
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defn menu-render
|
||||
[]
|
||||
(let [pcount 20]
|
||||
(html
|
||||
[:section#dashboard-bar.dashboard-bar
|
||||
[:div.dashboard-info
|
||||
[:span.dashboard-projects pcount " projects"]
|
||||
[:span "Sort by"]]
|
||||
[:div.dashboard-search i/search]])))
|
||||
|
||||
(def ^:static menu
|
||||
(util/component
|
||||
{:render menu-render
|
||||
:name "icons-menu"
|
||||
:mixins [rum/reactive]}))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Page Title
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue