diff --git a/client/src/components/auth-title.tsx b/client/src/components/auth-title.tsx
new file mode 100644
index 0000000..b11d078
--- /dev/null
+++ b/client/src/components/auth-title.tsx
@@ -0,0 +1,27 @@
+interface AuthTitleProps {
+ title: string;
+ body?: string;
+}
+
+const AuthTitle = ({ title, body }: AuthTitleProps) => {
+ return (
+
+
+ {title}
+
+ {body && (
+
+ )}
+
+ );
+};
+
+export { AuthTitle };
diff --git a/client/src/pages/forgot-password/page.tsx b/client/src/pages/forgot-password/page.tsx
index 3331887..bd4dbe2 100644
--- a/client/src/pages/forgot-password/page.tsx
+++ b/client/src/pages/forgot-password/page.tsx
@@ -1,21 +1,15 @@
import { SwitchAuth } from "@/components/switch-auth";
import { ForgotPasswordForm } from "./_components/forgot-password-form";
import { AppRoutes } from "@/constants/routes";
+import { AuthTitle } from "@/components/auth-title";
const ForgotPasswordPage = () => {
return (
-
-
- Forgot Password
-
-
-
- Enter your email address and wait for a reset password link to be
- sent.
-
-
-
+
diff --git a/client/src/pages/reset-password/page.tsx b/client/src/pages/reset-password/page.tsx
index 83af043..91ede2b 100644
--- a/client/src/pages/reset-password/page.tsx
+++ b/client/src/pages/reset-password/page.tsx
@@ -1,4 +1,5 @@
import { SwitchAuth } from "@/components/switch-auth";
+import { AuthTitle } from "@/components/auth-title";
import { AppRoutes } from "@/constants/routes";
import { ResetPasswordForm } from "./_components/reset-password-form";
@@ -6,12 +7,7 @@ import { ResetPasswordForm } from "./_components/reset-password-form";
const ResetPasswordPage = () => {
return (
-
- Reset Password
-
+
diff --git a/client/src/pages/sign-in/page.tsx b/client/src/pages/sign-in/page.tsx
index 665be49..10837dd 100644
--- a/client/src/pages/sign-in/page.tsx
+++ b/client/src/pages/sign-in/page.tsx
@@ -1,4 +1,5 @@
import { SwitchAuth } from "@/components/switch-auth";
+import { AuthTitle } from "@/components/auth-title";
import { AppRoutes } from "@/constants/routes";
import { Or } from "@/components/or";
@@ -7,12 +8,7 @@ import { SignInForm } from "./_components/sign-in-form";
const SignInPage = () => {
return (
-
- Access Your Account
-
+
diff --git a/client/src/pages/sign-up/page.tsx b/client/src/pages/sign-up/page.tsx
index d157752..2cf996c 100644
--- a/client/src/pages/sign-up/page.tsx
+++ b/client/src/pages/sign-up/page.tsx
@@ -1,4 +1,5 @@
import { SwitchAuth } from "@/components/switch-auth";
+import { AuthTitle } from "@/components/auth-title";
import { AppRoutes } from "@/constants/routes";
import { Or } from "@/components/or";
@@ -7,12 +8,7 @@ import { SignUpForm } from "./_components/sign-up-form";
const SignUpPage = () => {
return (
-
- Create Account
-
+
diff --git a/client/src/pages/verify-email/page.tsx b/client/src/pages/verify-email/page.tsx
index 1e19146..57b1f04 100644
--- a/client/src/pages/verify-email/page.tsx
+++ b/client/src/pages/verify-email/page.tsx
@@ -1,15 +1,12 @@
+import { AuthTitle } from "@/components/auth-title";
+
import { VerifyEmailForm } from "./_components/verify-email-form";
import { ResendCode } from "./_components/resend-code";
const VerifyEmailPage = () => {
return (