From 326aef54836f55c614235d8713049bc79cc9f844 Mon Sep 17 00:00:00 2001 From: Sebastian Pravda Date: Sun, 25 Dec 2022 19:56:08 +0100 Subject: [PATCH] feat: stable dot navigation & continue button --- .../(authenticated)/register/+page.svelte | 105 +++++++++--------- 1 file changed, 54 insertions(+), 51 deletions(-) diff --git a/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte b/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte index b9a8a22..14b9cdf 100644 --- a/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte +++ b/frontend/src/routes/(candidate)/(authenticated)/register/+page.svelte @@ -330,10 +330,11 @@ -
-
- -
+
+
+
+ +
{#if pageIndex === 0}
@@ -444,35 +445,35 @@

Sběr dat o zákonném zástupci je klíčový pro získání důležitých kontaktů a informací.

-
- - + + - -
- - + +
+ + - - - + + + - -
+ /> +
+
{:else if pageIndex === 4}

{pageTexts[4]}

@@ -508,7 +509,7 @@

{:else if pageIndex === 5} -

{pageTexts[5]}

+

{pageTexts[5]}

Zadejte prosím své občanství, rodné číslo a obor na který se hlásíte.

@@ -553,41 +554,43 @@
{/if} - -
- { - await handleSubmit(e); - if (isPageInvalid(pageIndex)) return; - if (pageIndex === pageCount) { - } else { - pagesFilled[pageIndex] = true; - pageIndex++; - } - // @ts-ignore - errors.set(formInitialValues); - }} - value={pageIndex === pageCount ? 'Odeslat' : 'Pokračovat'} - />
- -
- {#each Array(pageCount + 1) as _, i} -