diff --git a/frontend/src/routes/auth/logout/+page.svelte b/frontend/src/routes/auth/logout/+page.svelte deleted file mode 100644 index 611a46a..0000000 --- a/frontend/src/routes/auth/logout/+page.svelte +++ /dev/null @@ -1,14 +0,0 @@ - - -

Log out

diff --git a/frontend/src/routes/auth/logout/+page.ts b/frontend/src/routes/auth/logout/+page.ts deleted file mode 100644 index a3d1578..0000000 --- a/frontend/src/routes/auth/logout/+page.ts +++ /dev/null @@ -1 +0,0 @@ -export const ssr = false; diff --git a/frontend/src/routes/nav/Navigation.svelte b/frontend/src/routes/nav/Navigation.svelte index e5eecb8..311ce44 100644 --- a/frontend/src/routes/nav/Navigation.svelte +++ b/frontend/src/routes/nav/Navigation.svelte @@ -85,9 +85,6 @@ Settings - - Log out - {:else} Log in diff --git a/frontend/src/routes/settings/+layout.svelte b/frontend/src/routes/settings/+layout.svelte index 1c43b88..d786bd1 100644 --- a/frontend/src/routes/settings/+layout.svelte +++ b/frontend/src/routes/settings/+layout.svelte @@ -1,10 +1,22 @@
@@ -39,10 +51,18 @@ > Data export + Log out
+ + Are you sure you want to log out? + + + + +