From e9ceffac2b9546ee7c72995329f3284d9ac68cee Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Thu, 22 Feb 2024 17:42:08 -0500 Subject: [PATCH 1/2] Create a (pages) group and move legacy styles into layouts that don't touch the new routes --- src/routes/(embed)/+layout.svelte | 6 ++++++ src/routes/(pages)/+layout.svelte | 6 ++++++ src/routes/{ => (pages)}/[...path]/+page.js | 0 src/routes/{ => (pages)}/[...path]/+page.svelte | 0 src/routes/{ => (pages)}/home/+page.js | 0 src/routes/{ => (pages)}/home/+page.svelte | 0 src/routes/+layout.svelte | 4 ---- 7 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 src/routes/(embed)/+layout.svelte create mode 100644 src/routes/(pages)/+layout.svelte rename src/routes/{ => (pages)}/[...path]/+page.js (100%) rename src/routes/{ => (pages)}/[...path]/+page.svelte (100%) rename src/routes/{ => (pages)}/home/+page.js (100%) rename src/routes/{ => (pages)}/home/+page.svelte (100%) diff --git a/src/routes/(embed)/+layout.svelte b/src/routes/(embed)/+layout.svelte new file mode 100644 index 000000000..5b5cb66d2 --- /dev/null +++ b/src/routes/(embed)/+layout.svelte @@ -0,0 +1,6 @@ + + + diff --git a/src/routes/(pages)/+layout.svelte b/src/routes/(pages)/+layout.svelte new file mode 100644 index 000000000..5b5cb66d2 --- /dev/null +++ b/src/routes/(pages)/+layout.svelte @@ -0,0 +1,6 @@ + + + diff --git a/src/routes/[...path]/+page.js b/src/routes/(pages)/[...path]/+page.js similarity index 100% rename from src/routes/[...path]/+page.js rename to src/routes/(pages)/[...path]/+page.js diff --git a/src/routes/[...path]/+page.svelte b/src/routes/(pages)/[...path]/+page.svelte similarity index 100% rename from src/routes/[...path]/+page.svelte rename to src/routes/(pages)/[...path]/+page.svelte diff --git a/src/routes/home/+page.js b/src/routes/(pages)/home/+page.js similarity index 100% rename from src/routes/home/+page.js rename to src/routes/(pages)/home/+page.js diff --git a/src/routes/home/+page.svelte b/src/routes/(pages)/home/+page.svelte similarity index 100% rename from src/routes/home/+page.svelte rename to src/routes/(pages)/home/+page.svelte diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 9df33de7b..f7821ac7d 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,8 +1,4 @@