diff --git a/src/main.tsx b/src/main.tsx
index a9f043f..699b94e 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -3,11 +3,14 @@ import { createRoot } from "react-dom/client";
import App from "./App.tsx";
import "./index.css";
import { BrowserRouter } from "react-router-dom";
+import ThemeWrapper from "./ThemeContext.tsx";
createRoot(document.getElementById("root")!).render(
+
+
-);
+);
\ No newline at end of file
diff --git a/src/pages/About/About.tsx b/src/pages/About/About.tsx
index 81ed120..d1f2a0e 100644
--- a/src/pages/About/About.tsx
+++ b/src/pages/About/About.tsx
@@ -2,37 +2,48 @@ const About = () => {
return (
{/* Hero Section */}
-
+
About Us
-
Welcome to GitHub Tracker! We simplify issue tracking for developers.
+
+ Welcome to GitHub Tracker! We simplify issue tracking for developers.
+
{/* Mission Section */}
-
+
Our Mission
- We aim to provide an efficient and user-friendly way to track GitHub issues and pull requests. Our goal is to make it easy for developers to stay organized and focused on their projects without getting bogged down by the details.
+ We aim to provide an efficient and user-friendly way to track GitHub
+ issues and pull requests. Our goal is to make it easy for developers to
+ stay organized and focused on their projects without getting bogged down
+ by the details.
{/* Features Section */}
-
+
What We Do
-
-
+
+
🔍
Simple Issue Tracking
-
Track your GitHub issues seamlessly with intuitive filters and search options.
+
+ Track your GitHub issues seamlessly with intuitive filters and search options.
+
-
+
👥
Team Collaboration
-
Collaborate with your team in real-time, manage issues and pull requests effectively.
+
+ Collaborate with your team in real-time, manage issues and pull requests effectively.
+
-
+
⚙️
Customizable Settings
-
Customize your issue tracking workflow to match your team's needs.
+
+ Customize your issue tracking workflow to match your team's needs.
+
@@ -40,4 +51,4 @@ const About = () => {
);
};
-export default About;
+export default About;
\ No newline at end of file
diff --git a/src/pages/Contact/Contact.tsx b/src/pages/Contact/Contact.tsx
index ef9f967..28eef10 100644
--- a/src/pages/Contact/Contact.tsx
+++ b/src/pages/Contact/Contact.tsx
@@ -1,85 +1,328 @@
-import { FormEvent, useState } from 'react';
+import { useState } from 'react';
+import { Github, Mail, Phone, Send, X, CheckCircle } from 'lucide-react';
+import { useContext } from "react";
+import { ThemeContext } from "../../ThemeContext";
+import type { ThemeContextType } from "../../ThemeContext";
function Contact() {
- const [showPopup, setShowPopup] = useState(false); // State to control popup visibility
+ const [showPopup, setShowPopup] = useState(false);
+ const [isSubmitting, setIsSubmitting] = useState(false);
+ const themeContext = useContext(ThemeContext) as ThemeContextType;
+const { mode } = themeContext;
- // Handle form submission
- const handleSubmit = (e: FormEvent) => {
- e.preventDefault();
- setShowPopup(true); // Show the popup after submission
+ const handleSubmit = async () => {
+ setIsSubmitting(true);
+
+ // Simulate API call
+ await new Promise(resolve => setTimeout(resolve, 1500));
+
+ setIsSubmitting(false);
+ setShowPopup(true);
+
+ // Auto-close popup after 5 seconds
+ setTimeout(() => {
+ setShowPopup(false);
+ }, 5000);
};
- // Handle closing the popup
const handleClosePopup = () => {
- setShowPopup(false); // Hide the popup
+ setShowPopup(false);
};
- return (
-
-
Contact Us
-
- {/* Contact Methods */}
-
-
- 📞 Phone
-
(123) 456-7890
-
-
- ✉️ Email
-
contact@company.com
-
-
+ return (
+
+ {/* Animated background elements */}
+
+
+
+
+
- {/* Contact Form */}
-
-
-
-
-
-
-
-
+
+ {/* Header Section */}
+
+
+
+
+
+
+ GitHub Tracker
+
-
-
-
+
+ Get in touch with us to discuss your project tracking needs or report
+ any issues
+
+
+
+
+ {/* Contact Info Cards */}
+
+
+
+ Let's Connect
+
+
+ We're here to help you track and manage your GitHub repositories
+ more effectively
+