\ No newline at end of file
diff --git a/web/src/lib/components/nav-user.svelte b/web/src/lib/components/nav-user.svelte
index 647f87d..62247df 100644
--- a/web/src/lib/components/nav-user.svelte
+++ b/web/src/lib/components/nav-user.svelte
@@ -51,7 +51,9 @@
- CN
+
+
+
diff --git a/web/src/lib/images/logo.svg b/web/src/lib/images/logo.svg
new file mode 100644
index 0000000..b551d03
--- /dev/null
+++ b/web/src/lib/images/logo.svg
@@ -0,0 +1,158 @@
+
+
+
+
diff --git a/web/src/routes/dashboard/+layout.server.ts b/web/src/routes/dashboard/+layout.server.ts
index 4f4ca5f..e9c64c9 100644
--- a/web/src/routes/dashboard/+layout.server.ts
+++ b/web/src/routes/dashboard/+layout.server.ts
@@ -1,6 +1,7 @@
import {env} from '$env/dynamic/public';
import type {LayoutServerLoad} from './$types';
import {redirect} from '@sveltejs/kit';
+import {base} from "$app/paths";
const apiUrl = env.PUBLIC_API_URL;
@@ -14,7 +15,7 @@ export const load: LayoutServerLoad = async ({fetch}) => {
});
if (!response.ok) {
console.log('unauthorized, redirecting to login');
- throw redirect(303, '/login');
+ throw redirect(303, base + '/login');
}
return {user: await response.json()};
};
diff --git a/web/src/routes/dashboard/+layout.svelte b/web/src/routes/dashboard/+layout.svelte
index 2bf7e5b..d9e1ff9 100644
--- a/web/src/routes/dashboard/+layout.svelte
+++ b/web/src/routes/dashboard/+layout.svelte
@@ -4,11 +4,12 @@
import type {LayoutProps} from './$types';
import {setContext} from 'svelte';
import {goto} from '$app/navigation';
+ import {base} from "$app/paths";
let {data, children}: LayoutProps = $props();
console.log('Received User Data: ', data.user);
if (!data.user.is_verified) {
- goto('/login/verify')
+ goto(base + '/login/verify')
}
setContext('user', () => data.user);
diff --git a/web/src/routes/dashboard/+page.svelte b/web/src/routes/dashboard/+page.svelte
index cb94f5f..9a8749b 100644
--- a/web/src/routes/dashboard/+page.svelte
+++ b/web/src/routes/dashboard/+page.svelte
@@ -2,6 +2,7 @@
import {Separator} from '$lib/components/ui/separator/index.js';
import * as Sidebar from '$lib/components/ui/sidebar/index.js';
import * as Breadcrumb from '$lib/components/ui/breadcrumb/index.js';
+ import {base} from "$app/paths";
@@ -11,7 +12,7 @@
- MediaManager
+ MediaManager
diff --git a/web/src/routes/login/+page.svelte b/web/src/routes/login/+page.svelte
index a1ce562..4c083a7 100644
--- a/web/src/routes/login/+page.svelte
+++ b/web/src/routes/login/+page.svelte
@@ -1,7 +1,15 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/src/routes/login/verify/+page.svelte b/web/src/routes/login/verify/+page.svelte
index 730a3c9..2d1b934 100644
--- a/web/src/routes/login/verify/+page.svelte
+++ b/web/src/routes/login/verify/+page.svelte
@@ -1,11 +1,19 @@
+
+
+
+
-
+
+
+
@@ -24,45 +32,4 @@
If you have any questions, please contact an administrator.
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/web/static/favicon.ico b/web/static/favicon.ico
new file mode 100644
index 0000000..da80fad
Binary files /dev/null and b/web/static/favicon.ico differ
diff --git a/web/static/favicon.png b/web/static/favicon.png
deleted file mode 100644
index 825b9e6..0000000
Binary files a/web/static/favicon.png and /dev/null differ