From 589f3a148dadfc265d0d8e8e6fc5d337a0a6beec Mon Sep 17 00:00:00 2001 From: a2nr Date: Fri, 24 Jul 2026 13:45:28 +0700 Subject: [PATCH] feat: playground multi-tab (Velxio/Flowchart/Circuit/Code) with auto-save --- frontend/src/routes/playground/+page.svelte | 214 +++++++++++++++++--- 1 file changed, 183 insertions(+), 31 deletions(-) diff --git a/frontend/src/routes/playground/+page.svelte b/frontend/src/routes/playground/+page.svelte index c4e5186..daa28b5 100644 --- a/frontend/src/routes/playground/+page.svelte +++ b/frontend/src/routes/playground/+page.svelte @@ -1,12 +1,23 @@ - Developer Playground — Velxio + Developer Playground — Elemes
- + +
+ + + +
+ + +
+
- + +
+ {#if activeTab === 'velxio'} + + {:else if activeTab === 'flowchart'} + + {:else if activeTab === 'circuit'} +
+ +
+ {:else if activeTab === 'code'} +
+ {#key codeLanguage} + currentCode = val} + /> + {/key} +
+ {/if} +
+ + + {#if activeTab === 'velxio'} + + {/if}