From c23091d102f2df33fc39dfae047eb73ee48c2a64 Mon Sep 17 00:00:00 2001 From: Raphael Arce Date: Wed, 14 Feb 2024 17:35:57 +0100 Subject: [PATCH] feat: move the previous/next buttons further up Signed-off-by: Raphael Arce --- src/components/forms/first-registration/has-child.tsx | 4 ++-- .../forms/first-registration/is-first-registration.tsx | 4 ++-- src/components/forms/first-registration/is-married.tsx | 4 ++-- .../forms/first-registration/is-registering-child.tsx | 4 ++-- .../first-registration/is-registering-more-than-two.tsx | 4 ++-- .../forms/first-registration/is-registering-spouse.tsx | 4 ++-- src/components/forms/intro/index.tsx | 8 ++------ src/components/forms/nationality/is-european.tsx | 4 ++-- src/components/forms/nationality/is-german-under-16.tsx | 4 ++-- src/components/forms/nationality/is-german.tsx | 4 ++-- .../forms/nationality/is-non-german-under-16.tsx | 4 ++-- src/components/forms/nationality/is-refugee.tsx | 4 ++-- .../forms/other-residence/has-other-residence.tsx | 4 ++-- .../forms/other-residence/is-other-residence-abroad.tsx | 4 ++-- .../is-registering-for-more-than-six-months.tsx | 4 ++-- .../is-registering-for-more-than-three-months.tsx | 4 ++-- src/components/steps/index.tsx | 4 ++-- 17 files changed, 34 insertions(+), 38 deletions(-) diff --git a/src/components/forms/first-registration/has-child.tsx b/src/components/forms/first-registration/has-child.tsx index 8559e59..dd64f69 100644 --- a/src/components/forms/first-registration/has-child.tsx +++ b/src/components/forms/first-registration/has-child.tsx @@ -27,7 +27,7 @@ export function HasChild() { return (
{ e.preventDefault(); goToNextStep(); @@ -66,7 +66,7 @@ export function HasChild() { -
+
{ e.preventDefault(); goToNextStep(); @@ -69,7 +69,7 @@ export function IsFirstRegistration() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -65,7 +65,7 @@ export function IsMarried() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -69,7 +69,7 @@ export function IsRegisteringChild() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -70,7 +70,7 @@ export function IsRegisteringMoreThanTwo() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -69,7 +69,7 @@ export function IsRegisteringSpouse() {
-
+
-

- {t("intro.title", language)} -

-

{t("intro.p1", language)}

-
+
diff --git a/src/components/forms/nationality/is-european.tsx b/src/components/forms/nationality/is-european.tsx index 4d1d5c8..9432daa 100644 --- a/src/components/forms/nationality/is-european.tsx +++ b/src/components/forms/nationality/is-european.tsx @@ -27,7 +27,7 @@ export function IsEuropean() { return (
{ e.preventDefault(); goToNextStep(); @@ -65,7 +65,7 @@ export function IsEuropean() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -67,7 +67,7 @@ export function IsGermanUnder16() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -65,7 +65,7 @@ export function IsGerman() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -69,7 +69,7 @@ export function IsNonGermanUnder16() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -76,7 +76,7 @@ export function IsRefugee() {

-
+
{ e.preventDefault(); goToNextStep(); @@ -69,7 +69,7 @@ export function HasOtherResidence() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -69,7 +69,7 @@ export function IsOtherResidenceAbroad() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -84,7 +84,7 @@ export function IsRegisteringForMoreThanSixMonths() {

-
+
{ e.preventDefault(); goToNextStep(); @@ -85,7 +85,7 @@ export function IsRegisteringForMoreThanThreeMonths() {

-
+
{steps[currentStep]}