From f4e98fd8138e9e18152310f1139c2a91473fb703 Mon Sep 17 00:00:00 2001 From: Sukma Gladys Date: Wed, 4 Sep 2024 16:12:22 +0700 Subject: [PATCH 1/5] fix: text color --- apps/frontend/src/routes/forgot-password/index.lazy.tsx | 2 +- apps/frontend/src/routes/forgot-password/verify.lazy.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/routes/forgot-password/index.lazy.tsx b/apps/frontend/src/routes/forgot-password/index.lazy.tsx index 8f0a73e..2844bac 100644 --- a/apps/frontend/src/routes/forgot-password/index.lazy.tsx +++ b/apps/frontend/src/routes/forgot-password/index.lazy.tsx @@ -185,7 +185,7 @@ export function ForgotPasswordForm() { > Forgot Password -

+

No worries, we'll send you reset instructions

diff --git a/apps/frontend/src/routes/forgot-password/verify.lazy.tsx b/apps/frontend/src/routes/forgot-password/verify.lazy.tsx index 23d5b94..7180c97 100644 --- a/apps/frontend/src/routes/forgot-password/verify.lazy.tsx +++ b/apps/frontend/src/routes/forgot-password/verify.lazy.tsx @@ -221,7 +221,7 @@ export function ResetPasswordForm() { > Change Password -

Enter your new password

+

Enter your new password

Date: Wed, 4 Sep 2024 18:05:35 +0700 Subject: [PATCH 2/5] fix: background div className --- apps/frontend/src/routes/forgot-password/index.lazy.tsx | 2 +- apps/frontend/src/routes/forgot-password/verify.lazy.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/routes/forgot-password/index.lazy.tsx b/apps/frontend/src/routes/forgot-password/index.lazy.tsx index 2844bac..6a3e361 100644 --- a/apps/frontend/src/routes/forgot-password/index.lazy.tsx +++ b/apps/frontend/src/routes/forgot-password/index.lazy.tsx @@ -160,7 +160,7 @@ export function ForgotPasswordForm() { return (
diff --git a/apps/frontend/src/routes/forgot-password/verify.lazy.tsx b/apps/frontend/src/routes/forgot-password/verify.lazy.tsx index 7180c97..44e9bdb 100644 --- a/apps/frontend/src/routes/forgot-password/verify.lazy.tsx +++ b/apps/frontend/src/routes/forgot-password/verify.lazy.tsx @@ -196,7 +196,7 @@ export function ResetPasswordForm() { return (
From e73c99c0a5263361e7d2c45f1bdea207f017ad41 Mon Sep 17 00:00:00 2001 From: Sukma Gladys Date: Thu, 5 Sep 2024 09:38:11 +0700 Subject: [PATCH 3/5] fix: back to login page link --- apps/frontend/src/routes/forgot-password/index.lazy.tsx | 2 +- apps/frontend/src/routes/forgot-password/verify.lazy.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/routes/forgot-password/index.lazy.tsx b/apps/frontend/src/routes/forgot-password/index.lazy.tsx index 6a3e361..58608f1 100644 --- a/apps/frontend/src/routes/forgot-password/index.lazy.tsx +++ b/apps/frontend/src/routes/forgot-password/index.lazy.tsx @@ -219,7 +219,7 @@ export function ForgotPasswordForm() { Back to login diff --git a/apps/frontend/src/routes/forgot-password/verify.lazy.tsx b/apps/frontend/src/routes/forgot-password/verify.lazy.tsx index 44e9bdb..5294140 100644 --- a/apps/frontend/src/routes/forgot-password/verify.lazy.tsx +++ b/apps/frontend/src/routes/forgot-password/verify.lazy.tsx @@ -261,7 +261,7 @@ export function ResetPasswordForm() { Back to login From 041781c5b3074233c43d7f2cfb54321e163a4769 Mon Sep 17 00:00:00 2001 From: Sukma Gladys Date: Thu, 5 Sep 2024 15:56:12 +0700 Subject: [PATCH 4/5] fix: form and bg position --- apps/frontend/src/routes/forgot-password/index.lazy.tsx | 4 ++-- apps/frontend/src/routes/forgot-password/verify.lazy.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/frontend/src/routes/forgot-password/index.lazy.tsx b/apps/frontend/src/routes/forgot-password/index.lazy.tsx index 58608f1..bc29d01 100644 --- a/apps/frontend/src/routes/forgot-password/index.lazy.tsx +++ b/apps/frontend/src/routes/forgot-password/index.lazy.tsx @@ -162,7 +162,7 @@ export function ForgotPasswordForm() {
-
+
@@ -177,7 +177,7 @@ export function ForgotPasswordForm() {
Amati
{/* Center */} -
+

-
+
@@ -213,7 +213,7 @@ export function ResetPasswordForm() {
Amati
{/* Center */} -
+

Date: Fri, 13 Sep 2024 10:11:52 +0700 Subject: [PATCH 5/5] fix: background and component style --- apps/frontend/src/index.css | 4 ++ .../src/routes/forgot-password/index.lazy.tsx | 44 ++++++++----------- .../routes/forgot-password/verify.lazy.tsx | 44 ++++++++----------- 3 files changed, 40 insertions(+), 52 deletions(-) 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 bc29d01..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,20 +159,18 @@ export function ForgotPasswordForm() { return (
-
-
-
-
-
-
-
+
+
+
+ + + +
-
+
{/* Top */}
Amati
@@ -180,8 +178,7 @@ export function ForgotPasswordForm() {

Forgot Password

@@ -207,12 +204,7 @@ export function ForgotPasswordForm() {
@@ -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,20 +195,18 @@ export function ResetPasswordForm() { return (
-
-
-
-
-
-
-
+
+
+
+ + + +
-
+
{/* Top */}
Amati
@@ -216,8 +214,7 @@ export function ResetPasswordForm() {

Change Password

@@ -249,12 +246,7 @@ export function ResetPasswordForm() {