diff --git a/sites/svelte.dev/src/routes/examples/[slug]/+page.svelte b/sites/svelte.dev/src/routes/examples/[slug]/+page.svelte deleted file mode 100644 index b9126e63ae..0000000000 --- a/sites/svelte.dev/src/routes/examples/[slug]/+page.svelte +++ /dev/null @@ -1,128 +0,0 @@ - - - - - {data.example?.title} {data.example?.title ? '•' : ''} Svelte Examples - - - - - - -

Examples

-
-
- -
- -
-
- {#if mobile} - - {/if} -
- - diff --git a/sites/svelte.dev/src/routes/examples/[slug]/+page.server.js b/sites/svelte.dev/src/routes/examples/[slug]/+server.js similarity index 68% rename from sites/svelte.dev/src/routes/examples/[slug]/+page.server.js rename to sites/svelte.dev/src/routes/examples/[slug]/+server.js index 43d673dd32..11cdbe5841 100644 --- a/sites/svelte.dev/src/routes/examples/[slug]/+page.server.js +++ b/sites/svelte.dev/src/routes/examples/[slug]/+server.js @@ -1,5 +1,5 @@ import { redirect } from '@sveltejs/kit'; -export async function load({ params }) { +export async function GET({ params }) { throw redirect(308, `/repl/${params.slug}`); } diff --git a/sites/svelte.dev/src/routes/examples/[slug]/TableOfContents.svelte b/sites/svelte.dev/src/routes/examples/[slug]/TableOfContents.svelte deleted file mode 100644 index 1aa8a7965a..0000000000 --- a/sites/svelte.dev/src/routes/examples/[slug]/TableOfContents.svelte +++ /dev/null @@ -1,123 +0,0 @@ - - - - -