From a327013a3f481e5c90ddc846c11e81f1f438ca1f 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 fb0d041..0497acc 100644 --- a/src/components/forms/first-registration/has-child.tsx +++ b/src/components/forms/first-registration/has-child.tsx @@ -22,7 +22,7 @@ export function HasChild() { return (
{ e.preventDefault(); goToNextStep(); @@ -61,7 +61,7 @@ export function HasChild() { -
+
{ e.preventDefault(); goToNextStep(); @@ -64,7 +64,7 @@ export function IsFirstRegistration() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -60,7 +60,7 @@ export function IsMarried() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -64,7 +64,7 @@ export function IsRegisteringChild() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -65,7 +65,7 @@ export function IsRegisteringMoreThanTwo() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -64,7 +64,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 95b2c1d..9b9decf 100644 --- a/src/components/forms/nationality/is-european.tsx +++ b/src/components/forms/nationality/is-european.tsx @@ -22,7 +22,7 @@ export function IsEuropean() { return (
{ e.preventDefault(); goToNextStep(); @@ -60,7 +60,7 @@ export function IsEuropean() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -62,7 +62,7 @@ export function IsGermanUnder16() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -60,7 +60,7 @@ export function IsGerman() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -64,7 +64,7 @@ export function IsNonGermanUnder16() {
-
+
{ e.preventDefault(); goToNextStep(); @@ -71,7 +71,7 @@ export function IsRefugee() {

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

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

-
+
{steps[currentStep]}