diff --git a/apps/frontend/src/index.css b/apps/frontend/src/index.css index 99a7b0c..6f4ed59 100644 --- a/apps/frontend/src/index.css +++ b/apps/frontend/src/index.css @@ -66,4 +66,8 @@ body { @apply bg-background text-foreground; } +} + +:root { + --primary-color: #2555FF } \ No newline at end of file diff --git a/apps/frontend/src/routes/forgot-password/index.lazy.tsx b/apps/frontend/src/routes/forgot-password/index.lazy.tsx index 8f0a73e..e03c549 100644 --- a/apps/frontend/src/routes/forgot-password/index.lazy.tsx +++ b/apps/frontend/src/routes/forgot-password/index.lazy.tsx @@ -1,7 +1,7 @@ import { createLazyFileRoute } from "@tanstack/react-router"; import { TbArrowNarrowRight } from "react-icons/tb"; import { IoIosArrowUp } from "react-icons/io"; -import { HiOutlineGlobeAlt } from "react-icons/hi"; +import { HiOutlineGlobeAlt } from "react-icons/hi"; import { useForm, Control, FieldError } from "react-hook-form"; import { zodResolver } from "@hookform/resolvers/zod"; import { z } from "zod"; @@ -87,11 +87,11 @@ const CustomDropdownMenu: React.FC = ({ @@ -159,33 +159,30 @@ export function ForgotPasswordForm() { return (
-
-
-
-
-
-
-
+
+
+
+ + + +
-
+
{/* Top */}
Amati
{/* Center */} -
+

Forgot Password

-

+

No worries, we'll send you reset instructions

@@ -207,19 +204,14 @@ export function ForgotPasswordForm() {
Back to login @@ -231,8 +223,8 @@ export function ForgotPasswordForm() { {/* Bottom */}
diff --git a/apps/frontend/src/routes/forgot-password/verify.lazy.tsx b/apps/frontend/src/routes/forgot-password/verify.lazy.tsx index 23d5b94..1d8294a 100644 --- a/apps/frontend/src/routes/forgot-password/verify.lazy.tsx +++ b/apps/frontend/src/routes/forgot-password/verify.lazy.tsx @@ -91,11 +91,11 @@ const CustomDropdownMenu: React.FC = ({ @@ -142,7 +142,7 @@ export function ResetPasswordForm() { const urlParams = new URLSearchParams(window.location.search); const tokenFromURL = urlParams.get("token"); setToken(tokenFromURL); - }, []); + }, []); // Function to handle form submission const onSubmit = async (values: FormSchema) => { @@ -195,33 +195,30 @@ export function ResetPasswordForm() { return (
-
-
-
-
-
-
-
+
+
+
+ + + +
-
+
{/* Top */}
Amati
{/* Center */} -
+

Change Password

-

Enter your new password

+

Enter your new password

Back to login @@ -272,8 +264,8 @@ export function ResetPasswordForm() {