diff --git a/src/lib/components/MainLayout.svelte b/src/lib/components/MainLayout.svelte index 4608d7c..765d1ef 100644 --- a/src/lib/components/MainLayout.svelte +++ b/src/lib/components/MainLayout.svelte @@ -7,7 +7,7 @@
Editor - Export + + edit + editor + print print output - json + export - - output - yaml + + input + import - diff --git a/src/routes/editor/+page.svelte b/src/routes/(editor)/editor/+page.svelte similarity index 100% rename from src/routes/editor/+page.svelte rename to src/routes/(editor)/editor/+page.svelte diff --git a/src/routes/editor/page.test.js b/src/routes/(editor)/editor/page.test.js similarity index 100% rename from src/routes/editor/page.test.js rename to src/routes/(editor)/editor/page.test.js diff --git a/src/routes/(editor)/export/+page.svelte b/src/routes/(editor)/export/+page.svelte new file mode 100644 index 0000000..6ace38a --- /dev/null +++ b/src/routes/(editor)/export/+page.svelte @@ -0,0 +1,11 @@ + + + diff --git a/src/routes/export/[format=outputFormat]/Serialized.svelte b/src/routes/(editor)/export/Serialized.svelte similarity index 58% rename from src/routes/export/[format=outputFormat]/Serialized.svelte rename to src/routes/(editor)/export/Serialized.svelte index b2f5d07..866287a 100644 --- a/src/routes/export/[format=outputFormat]/Serialized.svelte +++ b/src/routes/(editor)/export/Serialized.svelte @@ -6,16 +6,25 @@ on:error={copyError}>{copyLabel} content_paste +
+ + arrow_drop_down +
-
{data}
+
{serialized}