From 50e19f2b57da2a6a7ff90b98705aa93d37b4ea5c Mon Sep 17 00:00:00 2001 From: Faton Ramadani Date: Mon, 5 Dec 2022 14:48:07 +0100 Subject: [PATCH] feat(frontend): Add app preview (#993) --- .../components/apps/editor/AppPreview.svelte | 66 +++++++++++++++++++ frontend/src/routes/apps/get/[...path].svelte | 9 +-- 2 files changed, 71 insertions(+), 4 deletions(-) create mode 100644 frontend/src/lib/components/apps/editor/AppPreview.svelte diff --git a/frontend/src/lib/components/apps/editor/AppPreview.svelte b/frontend/src/lib/components/apps/editor/AppPreview.svelte new file mode 100644 index 0000000000..ccd0293aa5 --- /dev/null +++ b/frontend/src/lib/components/apps/editor/AppPreview.svelte @@ -0,0 +1,66 @@ + + +
+ {#if $appStore.grid} +
+ +
+ {/if} +
diff --git a/frontend/src/routes/apps/get/[...path].svelte b/frontend/src/routes/apps/get/[...path].svelte index ee560618ec..0b6222ab87 100644 --- a/frontend/src/routes/apps/get/[...path].svelte +++ b/frontend/src/routes/apps/get/[...path].svelte @@ -9,6 +9,7 @@