diff --git a/src/pages/About/About.tsx b/src/pages/About/About.tsx index 04af2048..a6dd082d 100644 --- a/src/pages/About/About.tsx +++ b/src/pages/About/About.tsx @@ -1,5 +1,6 @@ import { motion } from "framer-motion"; import { Lightbulb, Users, Settings, Search } from "lucide-react"; +import { useEffect } from "react"; const features = [ { @@ -20,12 +21,15 @@ const features = [ ]; const About = () => { + useEffect(() => { + window.scrollTo(0, 0); + }, []); return (
- + {/* Hero Section */}
- { > About Us - { {/* Mission Section */}
- { + window.scrollTo(0, 0); + }, []); + const handleSubmit = async () => { setIsSubmitting(true); @@ -37,11 +41,10 @@ function Contact() { return (
{/* Animated background elements */}
@@ -55,9 +58,8 @@ function Contact() {

Get in touch with us to discuss your project tracking needs or report any issues @@ -87,16 +88,14 @@ function Contact() {

Let's Connect

We're here to help you track and manage your GitHub repositories more effectively @@ -133,49 +132,44 @@ function Contact() { return (

{title}

{detail}

{sub}

@@ -189,16 +183,14 @@ function Contact() { {/* Contact Form */}

Send us a Message

@@ -208,12 +200,10 @@ function Contact() { {/* Full Name */}
@@ -223,23 +213,20 @@ function Contact() { type="text" placeholder="Enter your full name" required - className={`w-full p-2 sm:p-3 rounded-lg sm:rounded-xl text-sm sm:text-base transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-purple-500 ${ - mode === "dark" + className={`w-full p-2 sm:p-3 rounded-lg sm:rounded-xl text-sm sm:text-base transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-purple-500 ${mode === "dark" ? "bg-white/5 border border-white/20 text-white placeholder-gray-400" : "bg-gray-50 border border-gray-300 text-gray-800 placeholder-gray-500" - }`} + }`} />
{/* Email */}
@@ -249,34 +236,28 @@ function Contact() { type="email" placeholder="your.email@example.com" required - className={`w-full p-2 sm:p-3 rounded-lg sm:rounded-xl text-sm sm:text-base transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-purple-500 ${ - mode === "dark" + className={`w-full p-2 sm:p-3 rounded-lg sm:rounded-xl text-sm sm:text-base transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-purple-500 ${mode === "dark" ? "bg-white/5 border border-white/20 text-white placeholder-gray-400" : "bg-gray-50 border border-gray-300 text-gray-800 placeholder-gray-500" - }`} + }`} />
{/* Subject */}