+
A VeedoAI project. (c) 2024
@@ -25,7 +25,7 @@
Content Category:
{$page.data.contentCategory}
{:else}
-
+
Your preferences and audiocast metadata will appear here
{/if}
diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte
index c782a10..a911836 100644
--- a/app/src/routes/+page.svelte
+++ b/app/src/routes/+page.svelte
@@ -1,15 +1,7 @@
@@ -17,20 +9,10 @@
Audiora
-
-
-
-
🎧 Audiora
- Listen to anything, anytime.
-
+
+
-
+
+ Chat Input Section
-
- Chat Input Section
-
-
+
diff --git a/app/src/routes/[sessionId=sessionId]/+page.server.ts b/app/src/routes/[sessionId=sessionId]/+page.server.ts
new file mode 100644
index 0000000..8f7085c
--- /dev/null
+++ b/app/src/routes/[sessionId=sessionId]/+page.server.ts
@@ -0,0 +1,11 @@
+import { error } from '@sveltejs/kit';
+import type { PageServerLoad } from './$types';
+
+export const load: PageServerLoad = ({ url }) => {
+ const category = url.searchParams.get('category');
+ if (!category) error(400, 'Audio category was not found');
+
+ return {
+ category
+ };
+};
diff --git a/app/src/routes/[sessionId=sessionId]/+page.svelte b/app/src/routes/[sessionId=sessionId]/+page.svelte
new file mode 100644
index 0000000..f0f8e14
--- /dev/null
+++ b/app/src/routes/[sessionId=sessionId]/+page.svelte
@@ -0,0 +1,17 @@
+
+
+
+
+ {sessionId}: {category}
+
+
+
+ Chat Input Section
+
+