From d8ee87d63303472d5689f8ce37cc6b3501bbf26a Mon Sep 17 00:00:00 2001 From: sylwia-werner Date: Thu, 6 Nov 2025 10:49:17 +0100 Subject: [PATCH 1/3] fix: adapt login ui to design --- .../molecules/LoginForm/LoginForm.tsx | 76 ++++++++++++------- 1 file changed, 48 insertions(+), 28 deletions(-) diff --git a/src/components/molecules/LoginForm/LoginForm.tsx b/src/components/molecules/LoginForm/LoginForm.tsx index f0b47b51..283faf63 100644 --- a/src/components/molecules/LoginForm/LoginForm.tsx +++ b/src/components/molecules/LoginForm/LoginForm.tsx @@ -14,6 +14,7 @@ import { loginFormSchema, LoginFormData } from "./schema" import { useState } from "react" import { login } from "@/lib/data/customer" import { useRouter } from "next/navigation" +import Link from "next/link" export const LoginForm = () => { const methods = useForm({ @@ -56,36 +57,55 @@ const Form = () => { return (
-

- Log in to your account -

-
-
- - - {error &&

{error}

} - + + {error && ( +

{error}

+ )} + +
+ +
+

+ Don't have an account yet? +

+ + + -

- Don't have an account yet?{" "} - - Sign up! - -

+
- +
) } From cdf05c6df1b9c0337ade98239cb9db95e2c1b647 Mon Sep 17 00:00:00 2001 From: sylwia-werner Date: Thu, 6 Nov 2025 10:49:47 +0100 Subject: [PATCH 2/3] fix: correct heading levels, remove unnecessary paragraph --- .../molecules/RegisterForm/RegisterForm.tsx | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/components/molecules/RegisterForm/RegisterForm.tsx b/src/components/molecules/RegisterForm/RegisterForm.tsx index 2f456118..a8498425 100644 --- a/src/components/molecules/RegisterForm/RegisterForm.tsx +++ b/src/components/molecules/RegisterForm/RegisterForm.tsx @@ -129,19 +129,17 @@ const Form = () => { -

+

Already have an account? -

-

- - - -

+ + + +
) From 5aaa6beb3dacd511cc60107ca3ab25611b28bd13 Mon Sep 17 00:00:00 2001 From: sylwia-werner Date: Thu, 6 Nov 2025 12:52:36 +0100 Subject: [PATCH 3/3] fix: comment not functional link --- .../molecules/LoginForm/LoginForm.tsx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/molecules/LoginForm/LoginForm.tsx b/src/components/molecules/LoginForm/LoginForm.tsx index 283faf63..fe2a7855 100644 --- a/src/components/molecules/LoginForm/LoginForm.tsx +++ b/src/components/molecules/LoginForm/LoginForm.tsx @@ -77,11 +77,12 @@ const Form = () => { /> -

+ {/* TODO: Add forgot password link when forgot password page is implemented */} + {/* Forgot your password? -

+ */} - @@ -96,13 +97,12 @@ const Form = () => { Don't have an account yet? - - +