From 1237f45142cdee53aacdac2d3232b84d969db548 Mon Sep 17 00:00:00 2001 From: Pheonix <150040105+ArshiBansal@users.noreply.github.com> Date: Fri, 22 May 2026 15:57:34 +0530 Subject: [PATCH] added back to home feature --- src/pages/Contact/Contact.tsx | 89 ++++++++++----- src/pages/Login/Login.tsx | 118 +++++++++++++++----- src/pages/Signup/Signup.tsx | 203 +++++++++++++++++++++------------- 3 files changed, 278 insertions(+), 132 deletions(-) diff --git a/src/pages/Contact/Contact.tsx b/src/pages/Contact/Contact.tsx index a0bfccbd..c9175686 100644 --- a/src/pages/Contact/Contact.tsx +++ b/src/pages/Contact/Contact.tsx @@ -6,16 +6,22 @@ import { Send, X, CheckCircle, + ArrowLeft, } from "lucide-react"; +import { useNavigate } from "react-router-dom"; + import { ThemeContext } from "../../context/ThemeContext"; import type { ThemeContextType } from "../../context/ThemeContext"; function Contact() { const [showPopup, setShowPopup] = useState(false); const [isSubmitting, setIsSubmitting] = useState(false); + const themeContext = useContext(ThemeContext) as ThemeContextType; const { mode } = themeContext; + const navigate = useNavigate(); + const handleSubmit = async () => { setIsSubmitting(true); @@ -51,6 +57,33 @@ function Contact() {
+ {/* Back to Home Button */} +
+ +
+ {/* Header Section */}
@@ -65,6 +98,7 @@ function Contact() { className="w-10 h-10 sm:w-14 sm:h-14 object-contain" />
+

+

Let's Connect +

- We're here to help you track and manage your GitHub - repositories more effectively + We're here to help you track and manage your GitHub repositories + more effectively

@@ -128,8 +164,10 @@ function Contact() { Icon: Github, }, ]; + const { title, iconBg, detail, sub, Icon } = contactTypes[index]; + return (
+

{title}

+

{detail}

+

{sub} @@ -209,13 +242,12 @@ function Contact() {

+ + +