mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +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
|
[:main.dashboard-main
|
||||||
(header)
|
(header)
|
||||||
[:section.dashboard-content
|
[:section.dashboard-content
|
||||||
(elements/menu)
|
|
||||||
(ui.library-bar/library-bar)
|
(ui.library-bar/library-bar)
|
||||||
[:section.dashboard-grid.library
|
[:section.dashboard-grid.library
|
||||||
(elements/page-title)
|
(elements/page-title)
|
||||||
|
@ -91,7 +90,6 @@
|
||||||
[:main.dashboard-main
|
[:main.dashboard-main
|
||||||
(header)
|
(header)
|
||||||
[:section.dashboard-content
|
[:section.dashboard-content
|
||||||
(icons/menu)
|
|
||||||
(icons/nav)
|
(icons/nav)
|
||||||
(icons/grid)]]))
|
(icons/grid)]]))
|
||||||
|
|
||||||
|
@ -123,7 +121,6 @@
|
||||||
[:main.dashboard-main
|
[:main.dashboard-main
|
||||||
(header)
|
(header)
|
||||||
[:section.dashboard-content
|
[:section.dashboard-content
|
||||||
(colors/menu)
|
|
||||||
(colors/nav)
|
(colors/nav)
|
||||||
(colors/grid)]]))
|
(colors/grid)]]))
|
||||||
|
|
||||||
|
|
|
@ -33,26 +33,6 @@
|
||||||
(as-> (ul/dep-in [:colors-by-id] [:dashboard :collection-id]) $
|
(as-> (ul/dep-in [:colors-by-id] [:dashboard :collection-id]) $
|
||||||
(l/focus-atom $ st/state)))
|
(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
|
;; Page Title
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
|
@ -8,28 +8,6 @@
|
||||||
[uxbox.ui.mixins :as mx]
|
[uxbox.ui.mixins :as mx]
|
||||||
[uxbox.ui.util :as util]))
|
[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
|
;; Page Title
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
|
@ -25,35 +25,6 @@
|
||||||
(as-> (l/in [:dashboard]) $
|
(as-> (l/in [:dashboard]) $
|
||||||
(l/focus-atom $ st/state)))
|
(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
|
;; Page Title
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue