+
Upload Image
)}
@@ -148,10 +161,18 @@ const FormStep21 = ({ onNext, onBack }) => {
-
+
Back
-
+
Next
diff --git a/src/components/FormStep3.jsx b/src/components/FormStep3.jsx
index 9fa28e6..29c515c 100644
--- a/src/components/FormStep3.jsx
+++ b/src/components/FormStep3.jsx
@@ -7,8 +7,8 @@ const FormStep3 = ({ onBack }) => {
const renderField = (label, value) => (
- {label}:
- {value || 'Not provided'}
+ {label}:
+ {value || 'Not provided'}
);
@@ -18,14 +18,14 @@ const FormStep3 = ({ onBack }) => {
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: 20 }}
transition={{ duration: 0.5 }}
- className="p-6 rounded-lg shadow-lg h-full flex flex-col justify-between"
+ className="p-6 rounded-lg shadow-lg h-full flex flex-col justify-between bg-white dark:bg-neutral-800"
>
-
Review and Submit
-
Take a final look before you join us!
+
Review and Submit
+
Take a final look before you join us!
-
+
{renderField('First Name', registerInfo.first_name)}
{renderField('Last Name', registerInfo.last_name)}
@@ -40,37 +40,35 @@ const FormStep3 = ({ onBack }) => {
{renderField('Interests', registerInfo.interests)}
{renderField('Social Habits', registerInfo.social_habits)}
{renderField('Past Relationships', registerInfo.past_relations)}
-
- {registerInfo.image_url && (
-
-
Profile Picture:
-
-
+
+ {registerInfo.image_url && (
+
+
Profile Picture:
+
+
+
-
- )}
-
-
+
-
-
);
};
diff --git a/src/pages/Landing.jsx b/src/pages/Landing.jsx
index 519c820..dcc1f72 100644
--- a/src/pages/Landing.jsx
+++ b/src/pages/Landing.jsx
@@ -4,40 +4,43 @@ import img1 from "../assets/img1.jpg";
import img2 from "../assets/img2.jpg";
import { motion } from "framer-motion";
import { Typewriter } from "react-simple-typewriter";
-import { FaInstagram } from "react-icons/fa";
-import { FaTwitter } from "react-icons/fa";
-import { FaLinkedin } from "react-icons/fa";
-import { FaFacebook } from "react-icons/fa";
+import { FaInstagram, FaTwitter, FaLinkedin, FaFacebook } from "react-icons/fa";
import { Link } from "react-router-dom";
+import DarkModeToggle from "../components/darkModeToggle";
+
const Landing = () => {
return (
-
-
-
-
- AFFINITY
-
+
+ {/* Header Section */}
+
+
+ AFFINITY
+
-
- Login
-
-
-
- Register
-
-
+
+ Login
+
+
+
+
+ Register
+
+
+
+ {/* Main Content Section */}
-
+ {/* Text Content */}
+
{
delaySpeed={1500}
/>
-
+
Meet your match in a world that understands you.
-
-
-
- Get Started
-
-
-
-
-
-
-
-
+
+
+ Get Started
+
+
+
+
+
+
+
+ {/* Card Section */}
diff --git a/src/pages/Login.jsx b/src/pages/Login.jsx
index bb444d1..dfcdf95 100644
--- a/src/pages/Login.jsx
+++ b/src/pages/Login.jsx
@@ -10,7 +10,6 @@ const Login = () => {
const handleSubmit = (e) => {
e.preventDefault();
- // audioRef.current.play();
loginUser(e);
};
@@ -28,42 +27,42 @@ const Login = () => {
return (
Welcome Back
- Log in to continue your journey
+ Log in to continue your journey