From 2ae563ca67d7849e095b502aa0b3d48df2f85c6a Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 16 Nov 2025 06:16:42 +0000 Subject: [PATCH] added first registration form --- src/lib/components/login/registration.svelte | 65 ++++++++++++++++---- 1 file changed, 54 insertions(+), 11 deletions(-) diff --git a/src/lib/components/login/registration.svelte b/src/lib/components/login/registration.svelte index a2f2de3..27c8970 100644 --- a/src/lib/components/login/registration.svelte +++ b/src/lib/components/login/registration.svelte @@ -1,16 +1,59 @@
-
- First Time Registration - - - - - - - -
+
+
+ First Time Registration +

The first account will also be created as a superadmin
in the pocketbase back end

+ + +

+ {#if validEmail} + + {:else} + + {/if} + Valid E-mail Address +

+ + +

+ {#if hasOneCapital} + + {:else} + + {/if} + At least 1 Capital +

+

{#if hasOneNumberOrSymbol} + + {:else} + + {/if} + At least 1 Number or Symbol

+

{#if hasAtLeastEightCharacters} + + {:else} + + {/if}At least 8 characters

+ +

{#if doesPasswordsMatch} + + {:else} + + {/if}Passwords Match

+ +
+