feat: switch to use Excalidraw api

This commit is contained in:
Tienson Qin
2021-03-09 23:24:45 +08:00
parent 76b33f2d8f
commit 92ad0296e6
24 changed files with 258 additions and 694 deletions

View File

@@ -131,7 +131,7 @@
(ui/loading (t :loading))]]
:else
[:div {:style {:margin-bottom (if global-graph-pages? 0 120)}}
[:div.max-w-7xl.mx-auto {:style {:margin-bottom (if global-graph-pages? 0 120)}}
main-content])]]
(right-sidebar/sidebar)]))
@@ -176,7 +176,7 @@
preferred-format (state/sub [:me :preferred_format])
logged? (:name me)]
(rum/with-context [[t] i18n/*tongue-context*]
[:div.max-w-7xl.mx-auto
[:div
(cond
(and default-home
(= :home (state/get-current-route))