@@ -18,7 +25,9 @@ const SignIn = () => {
New to Breaddit?{' '}
+ className='hover:text-brand text-sm underline underline-offset-4'
+ replace={isModal}
+ }>
Sign Up
diff --git a/src/components/SignUp.tsx b/src/components/SignUp.tsx
index a0057793..1c74635d 100644
--- a/src/components/SignUp.tsx
+++ b/src/components/SignUp.tsx
@@ -1,29 +1,38 @@
-import { Icons } from '@/components/Icons'
-import UserAuthForm from '@/components/UserAuthForm'
-import Link from 'next/link'
+"use client";
-const SignUp = () => {
+import { FC } from "react";
+import { Icons } from "@/components/Icons";
+import UserAuthForm from "@/components/UserAuthForm";
+import Link from "next/link";
+
+interface SignUpProps {
+ isModal?: boolean;
+}
+
+const SignUp: Fc
= ({ isModal = false }) => {
return (
-
-
-
-
Sign Up
-
+
+
+
+
Sign Up
+
By continuing, you are setting up a Breadit account and agree to our
User Agreement and Privacy Policy.
-
- Already a Breadditor?{' '}
+
+ Already a Breadditor?{" "}
+ href="/sign-in"
+ className="hover:text-brand text-sm underline underline-offset-4"
+ replace={isModal}
+ >
Sign in
- )
-}
+ );
+};
-export default SignUp
+export default SignUp;