diff --git a/src/components/molecules/LoginForm/LoginForm.tsx b/src/components/molecules/LoginForm/LoginForm.tsx index f0b47b51..fe2a7855 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}

} - -

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

+
+
+

Log in

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

{error}

+ )} + +
+ +
+

+ Don't have an account yet? +

+ + +
- +
) } 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? -

-

- - - -

+ + + +
)