diff --git a/bun.lockb b/bun.lockb
index 85d62b4..17d64a1 100755
Binary files a/bun.lockb and b/bun.lockb differ
diff --git a/src/hooks.server.ts b/src/hooks.server.ts
index 7024883..c97f325 100644
--- a/src/hooks.server.ts
+++ b/src/hooks.server.ts
@@ -17,6 +17,7 @@ export const handle: Handle = async ({ event, resolve }) => {
throw redirect(303, '/login')
}
}
+
const response = await resolve(event)
return response
diff --git a/src/lib/components/sidebar.svelte b/src/lib/components/sidebar.svelte
new file mode 100644
index 0000000..244ad94
--- /dev/null
+++ b/src/lib/components/sidebar.svelte
@@ -0,0 +1,22 @@
+
+
+
diff --git a/src/lib/components/ui/separator/index.ts b/src/lib/components/ui/separator/index.ts
new file mode 100644
index 0000000..dbfb139
--- /dev/null
+++ b/src/lib/components/ui/separator/index.ts
@@ -0,0 +1,7 @@
+import Root from "./separator.svelte";
+
+export {
+ Root,
+ //
+ Root as Separator
+};
diff --git a/src/lib/components/ui/separator/separator.svelte b/src/lib/components/ui/separator/separator.svelte
new file mode 100644
index 0000000..bf9127a
--- /dev/null
+++ b/src/lib/components/ui/separator/separator.svelte
@@ -0,0 +1,22 @@
+
+
+
diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte
index cea80d4..ff6c9f1 100644
--- a/src/routes/(app)/+layout.svelte
+++ b/src/routes/(app)/+layout.svelte
@@ -1,6 +1,10 @@
-
-
+
diff --git a/src/routes/(app)/+page.server.ts b/src/routes/(app)/+page.server.ts
new file mode 100644
index 0000000..719ee4c
--- /dev/null
+++ b/src/routes/(app)/+page.server.ts
@@ -0,0 +1,14 @@
+import { redirect } from '@sveltejs/kit'
+import type { PageServerLoad, Actions } from './$types'
+
+export const load = (async () => {
+ return {}
+}) satisfies PageServerLoad
+
+export const actions = {
+ signout: async (event) => {
+ console.log('signout')
+ event.cookies.delete('token')
+ throw redirect(303, '/login')
+ },
+} satisfies Actions