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() {

+ + +