diff --git a/src/app.postcss b/src/lib/styles/app.postcss similarity index 100% rename from src/app.postcss rename to src/lib/styles/app.postcss diff --git a/src/routes/(protected)/admin/+layout.server.ts b/src/routes/(app)/(protected)/admin/+layout.server.ts similarity index 100% rename from src/routes/(protected)/admin/+layout.server.ts rename to src/routes/(app)/(protected)/admin/+layout.server.ts diff --git a/src/routes/(protected)/admin/+layout.svelte b/src/routes/(app)/(protected)/admin/+layout.svelte similarity index 100% rename from src/routes/(protected)/admin/+layout.svelte rename to src/routes/(app)/(protected)/admin/+layout.svelte diff --git a/src/routes/(protected)/admin/+page.svelte b/src/routes/(app)/(protected)/admin/+page.svelte similarity index 100% rename from src/routes/(protected)/admin/+page.svelte rename to src/routes/(app)/(protected)/admin/+page.svelte diff --git a/src/routes/(protected)/collection/+page.server.ts b/src/routes/(app)/(protected)/collection/+page.server.ts similarity index 100% rename from src/routes/(protected)/collection/+page.server.ts rename to src/routes/(app)/(protected)/collection/+page.server.ts diff --git a/src/routes/(protected)/collection/+page.svelte b/src/routes/(app)/(protected)/collection/+page.svelte similarity index 100% rename from src/routes/(protected)/collection/+page.svelte rename to src/routes/(app)/(protected)/collection/+page.svelte diff --git a/src/routes/(protected)/list/+layout.server.ts b/src/routes/(app)/(protected)/list/+layout.server.ts similarity index 100% rename from src/routes/(protected)/list/+layout.server.ts rename to src/routes/(app)/(protected)/list/+layout.server.ts diff --git a/src/routes/(protected)/list/+layout.svelte b/src/routes/(app)/(protected)/list/+layout.svelte similarity index 100% rename from src/routes/(protected)/list/+layout.svelte rename to src/routes/(app)/(protected)/list/+layout.svelte diff --git a/src/routes/(protected)/list/[id]/+page.server.ts b/src/routes/(app)/(protected)/list/[id]/+page.server.ts similarity index 100% rename from src/routes/(protected)/list/[id]/+page.server.ts rename to src/routes/(app)/(protected)/list/[id]/+page.server.ts diff --git a/src/routes/(protected)/list/[id]/+page.svelte b/src/routes/(app)/(protected)/list/[id]/+page.svelte similarity index 100% rename from src/routes/(protected)/list/[id]/+page.svelte rename to src/routes/(app)/(protected)/list/[id]/+page.svelte diff --git a/src/routes/(protected)/profile/+page.server.ts b/src/routes/(app)/(protected)/profile/+page.server.ts similarity index 100% rename from src/routes/(protected)/profile/+page.server.ts rename to src/routes/(app)/(protected)/profile/+page.server.ts diff --git a/src/routes/(protected)/profile/+page.svelte b/src/routes/(app)/(protected)/profile/+page.svelte similarity index 100% rename from src/routes/(protected)/profile/+page.svelte rename to src/routes/(app)/(protected)/profile/+page.svelte diff --git a/src/routes/(protected)/wishlist/+page.server.ts b/src/routes/(app)/(protected)/wishlist/+page.server.ts similarity index 100% rename from src/routes/(protected)/wishlist/+page.server.ts rename to src/routes/(app)/(protected)/wishlist/+page.server.ts diff --git a/src/routes/(protected)/wishlist/+page.svelte b/src/routes/(app)/(protected)/wishlist/+page.svelte similarity index 100% rename from src/routes/(protected)/wishlist/+page.svelte rename to src/routes/(app)/(protected)/wishlist/+page.svelte diff --git a/src/routes/+page.server.ts b/src/routes/(app)/+page.server.ts similarity index 100% rename from src/routes/+page.server.ts rename to src/routes/(app)/+page.server.ts diff --git a/src/routes/+page.svelte b/src/routes/(app)/+page.svelte similarity index 100% rename from src/routes/+page.svelte rename to src/routes/(app)/+page.svelte diff --git a/src/routes/about/+page.svelte b/src/routes/(app)/about/+page.svelte similarity index 100% rename from src/routes/about/+page.svelte rename to src/routes/(app)/about/+page.svelte diff --git a/src/routes/about/+page.ts b/src/routes/(app)/about/+page.ts similarity index 100% rename from src/routes/about/+page.ts rename to src/routes/(app)/about/+page.ts diff --git a/src/routes/game/[id]/+error.svelte b/src/routes/(app)/game/[id]/+error.svelte similarity index 100% rename from src/routes/game/[id]/+error.svelte rename to src/routes/(app)/game/[id]/+error.svelte diff --git a/src/routes/game/[id]/+page.server.ts b/src/routes/(app)/game/[id]/+page.server.ts similarity index 96% rename from src/routes/game/[id]/+page.server.ts rename to src/routes/(app)/game/[id]/+page.server.ts index ae61aea..2af373e 100644 --- a/src/routes/game/[id]/+page.server.ts +++ b/src/routes/(app)/game/[id]/+page.server.ts @@ -1,6 +1,5 @@ import { error } from '@sveltejs/kit'; import prisma from '$lib/prisma.js'; -import { boardGameApi } from '../../api'; export const load = async ({ params, setHeaders, locals }) => { try { diff --git a/src/routes/game/[id]/+page.svelte b/src/routes/(app)/game/[id]/+page.svelte similarity index 100% rename from src/routes/game/[id]/+page.svelte rename to src/routes/(app)/game/[id]/+page.svelte diff --git a/src/routes/search/+error.svelte b/src/routes/(app)/search/+error.svelte similarity index 100% rename from src/routes/search/+error.svelte rename to src/routes/(app)/search/+error.svelte diff --git a/src/routes/search/+page.server.ts b/src/routes/(app)/search/+page.server.ts similarity index 100% rename from src/routes/search/+page.server.ts rename to src/routes/(app)/search/+page.server.ts diff --git a/src/routes/search/+page.svelte b/src/routes/(app)/search/+page.svelte similarity index 100% rename from src/routes/search/+page.svelte rename to src/routes/(app)/search/+page.svelte diff --git a/src/routes/api.ts b/src/routes/api.ts deleted file mode 100644 index e69de29..0000000