diff --git a/src/lib/components/login/auth-functions.svelte b/src/lib/components/login/auth-functions.svelte new file mode 100644 index 0000000..d534e38 --- /dev/null +++ b/src/lib/components/login/auth-functions.svelte @@ -0,0 +1,17 @@ + diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index a800d20..148f4b0 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -35,7 +35,7 @@ } // do an initial authentication check - checkAuth(); + await checkAuth(); // delay load until page is hydrated appSettings.appLoaded = true; diff --git a/src/routes/login.html/+page.svelte b/src/routes/login.html/+page.svelte index 8e0b9f0..7b0ddf2 100644 --- a/src/routes/login.html/+page.svelte +++ b/src/routes/login.html/+page.svelte @@ -1,20 +1,44 @@ -
-
- Login +{#if loginType == 'login'} +
+
+ Login - - + + - - + + - -
-
\ No newline at end of file + +
+
+{/if} + +{#if loginType == 'registration'} +
+
+ First Time Registration + + + + + + + +
+
+{/if}