From 01dace2c0dabcf21374aaea5e69772f7c254c239 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 15 Nov 2025 22:51:36 +0000 Subject: [PATCH] move registration to component --- src/lib/components/login/login.svelte | 16 ++++++++++++++++ src/routes/login.html/+page.svelte | 14 ++------------ 2 files changed, 18 insertions(+), 12 deletions(-) create mode 100644 src/lib/components/login/login.svelte diff --git a/src/lib/components/login/login.svelte b/src/lib/components/login/login.svelte new file mode 100644 index 0000000..a2f2de3 --- /dev/null +++ b/src/lib/components/login/login.svelte @@ -0,0 +1,16 @@ + + +
+
+ First Time Registration + + + + + + + +
+
diff --git a/src/routes/login.html/+page.svelte b/src/routes/login.html/+page.svelte index b1dd676..2bd09fd 100644 --- a/src/routes/login.html/+page.svelte +++ b/src/routes/login.html/+page.svelte @@ -3,6 +3,7 @@ import { fade } from 'svelte/transition'; import { loginOrRegister } from '$lib/components/login/auth-functions.svelte'; import { onMount } from 'svelte'; + import Login from '$lib/components/login/login.svelte'; appSettings.navbarTitle = 'Login'; appSettings.sidebarDrawerOpen = false; @@ -32,16 +33,5 @@ {/if} {#if loginType == 'registration'} -
-
- First Time Registration - - - - - - - -
-
+ {/if}