mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 22:51:38 +02:00
WIP: project creation now work.
This commit is contained in:
parent
62b9267d4f
commit
56f7613453
11 changed files with 201 additions and 103 deletions
|
@ -1,9 +1,9 @@
|
|||
(ns uxbox.core
|
||||
(:require [uxbox.state]
|
||||
[uxbox.ui :as ui]
|
||||
[uxbox.ui.navigation]
|
||||
[uxbox.router]
|
||||
[uxbox.rstore]
|
||||
[uxbox.rstore :as rs]
|
||||
[uxbox.data.projects :as dp]
|
||||
[goog.dom :as dom]))
|
||||
|
||||
(enable-console-print!)
|
||||
|
@ -11,3 +11,19 @@
|
|||
(let [dom (dom/getElement "app")]
|
||||
(ui/mount! dom))
|
||||
|
||||
(defonce +setup-stuff+
|
||||
(do
|
||||
(rs/emit! (dp/create-project {:name "foo"
|
||||
:width 600
|
||||
:height 600
|
||||
:layout :mobile}))
|
||||
(rs/emit! (dp/create-project {:name "bar"
|
||||
:width 600
|
||||
:height 600
|
||||
:layout :mobile}))
|
||||
(rs/emit! (dp/create-project {:name "baz"
|
||||
:width 600
|
||||
:height 600
|
||||
:layout :mobile}))
|
||||
nil))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue