diff --git a/site/src/components/Repl/ReplWidget.svelte b/site/src/components/Repl/ReplWidget.svelte new file mode 100644 index 0000000000..25beed2988 --- /dev/null +++ b/site/src/components/Repl/ReplWidget.svelte @@ -0,0 +1,89 @@ + + + + + + {name} • Svelte REPL + + +
+ {#if process.browser} + + {/if} +
diff --git a/site/src/routes/repl/_utils/process_example.js b/site/src/components/Repl/process_example.js similarity index 100% rename from site/src/routes/repl/_utils/process_example.js rename to site/src/components/Repl/process_example.js diff --git a/site/src/routes/index.svelte b/site/src/routes/index.svelte index 134afe859b..95b2dff8b6 100644 --- a/site/src/routes/index.svelte +++ b/site/src/routes/index.svelte @@ -1,6 +1,7 @@