mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 16:21:40 +02:00
Minor ns naming improvement on uxbox.ui.
This commit is contained in:
parent
68d75aacc9
commit
cdbd94615f
1 changed files with 14 additions and 14 deletions
|
@ -21,10 +21,10 @@
|
||||||
[uxbox.data.auth :as dauth]
|
[uxbox.data.auth :as dauth]
|
||||||
[uxbox.data.messages :as dmsg]
|
[uxbox.data.messages :as dmsg]
|
||||||
[uxbox.ui.icons :as i]
|
[uxbox.ui.icons :as i]
|
||||||
[uxbox.ui.lightbox :as ui-lightbox]
|
[uxbox.ui.lightbox :as lightbox]
|
||||||
[uxbox.ui.auth :as ui-auth]
|
[uxbox.ui.auth :as auth]
|
||||||
[uxbox.ui.dashboard :as ui-dashboard]
|
[uxbox.ui.dashboard :as dashboard]
|
||||||
[uxbox.ui.settings :as ui-settings]
|
[uxbox.ui.settings :as settings]
|
||||||
[uxbox.ui.workspace :refer (workspace)]
|
[uxbox.ui.workspace :refer (workspace)]
|
||||||
[uxbox.ui.mixins :as mx]
|
[uxbox.ui.mixins :as mx]
|
||||||
[uxbox.ui.shapes]))
|
[uxbox.ui.shapes]))
|
||||||
|
@ -76,15 +76,15 @@
|
||||||
(if (and (restricted? location) (not auth))
|
(if (and (restricted? location) (not auth))
|
||||||
(do (p/schedule 0 #(r/go :auth/login)) nil)
|
(do (p/schedule 0 #(r/go :auth/login)) nil)
|
||||||
(case location
|
(case location
|
||||||
:auth/login (ui-auth/login)
|
:auth/login (auth/login)
|
||||||
:dashboard/projects (ui-dashboard/projects-page)
|
:dashboard/projects (dashboard/projects-page)
|
||||||
:dashboard/elements (ui-dashboard/elements-page)
|
:dashboard/elements (dashboard/elements-page)
|
||||||
:dashboard/icons (ui-dashboard/icons-page)
|
:dashboard/icons (dashboard/icons-page)
|
||||||
:dashboard/images (ui-dashboard/images-page)
|
:dashboard/images (dashboard/images-page)
|
||||||
:dashboard/colors (ui-dashboard/colors-page)
|
:dashboard/colors (dashboard/colors-page)
|
||||||
:settings/profile (ui-settings/profile-page)
|
:settings/profile (settings/profile-page)
|
||||||
:settings/password (ui-settings/password-page)
|
:settings/password (settings/password-page)
|
||||||
:settings/notifications (ui-settings/notifications-page)
|
:settings/notifications (settings/notifications-page)
|
||||||
:workspace/page (let [projectid (:project-uuid params)
|
:workspace/page (let [projectid (:project-uuid params)
|
||||||
pageid (:page-uuid params)]
|
pageid (:page-uuid params)]
|
||||||
(workspace projectid pageid))
|
(workspace projectid pageid))
|
||||||
|
@ -126,5 +126,5 @@
|
||||||
lightbox-dom (gdom/getElement "lightbox")
|
lightbox-dom (gdom/getElement "lightbox")
|
||||||
loader-dom (gdom/getElement "loader")]
|
loader-dom (gdom/getElement "loader")]
|
||||||
(rum/mount (app) app-dom)
|
(rum/mount (app) app-dom)
|
||||||
(rum/mount (ui-lightbox/lightbox) lightbox-dom)
|
(rum/mount (lightbox/lightbox) lightbox-dom)
|
||||||
(rum/mount (loader) loader-dom)))
|
(rum/mount (loader) loader-dom)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue