-
-
-
-
-
-
+
+
+
+
+
+
{#if skin}
diff --git a/src/app/website/signup/RegisteredPopup.ts b/src/app/website/signup/RegisteredPopup.ts
deleted file mode 100644
index f913df3..0000000
--- a/src/app/website/signup/RegisteredPopup.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { atom } from 'nanostores';
-
-export const registeredPopupState = atom<{
- firstname: string;
- lastname: string;
- birthday: string;
- phone: string;
- username: string;
- edition: string;
-} | null>(null);
diff --git a/src/app/website/signup/RulesPopup.svelte b/src/app/website/signup/RulesPopup.svelte
index 5600fbc..ce97ee6 100644
--- a/src/app/website/signup/RulesPopup.svelte
+++ b/src/app/website/signup/RulesPopup.svelte
@@ -1,35 +1,41 @@
-
{
- if ($rulesPopupState !== 'accepted') $rulesPopupState = 'closed';
- }}
- bind:this={modalElem}
->
+ onClose()} bind:this={modalElem}>
-
-
-
-
-
-
{signupDisabled && (
{signupDisabled.message}
{signupDisabled.subMessage}
)}
-
-
diff --git a/src/app/website/signup/SignupFlow.svelte b/src/app/website/signup/SignupFlow.svelte
new file mode 100644
index 0000000..eee3c79
--- /dev/null
+++ b/src/app/website/signup/SignupFlow.svelte
@@ -0,0 +1,51 @@
+
+
+
+
Anmeldung
+
+
+
+
+ (step = null)}
+ />
+
+
+
+
+
diff --git a/src/components/input/Checkbox.svelte b/src/components/input/Checkbox.svelte
index 3fdbf8b..3166d57 100644
--- a/src/components/input/Checkbox.svelte
+++ b/src/components/input/Checkbox.svelte
@@ -9,12 +9,13 @@
hint: string;
};
disabled?: boolean;
+ onclick?: (event: MouseEvent) => void;
label?: Snippet | string;
notice?: Snippet;
}
- let { id, checked = $bindable(), required, validation, disabled, label, notice }: Props = $props();
+ let { id, checked = $bindable(), required, validation, disabled, onclick, label, notice }: Props = $props();
@@ -28,6 +29,7 @@
class:validator={required || validation}
required={required ? true : null}
disabled={disabled ? true : null}
+ {onclick}
/>
{#if typeof label === 'string'}