From 72de03c254beed188f4b8074b6b3c14788cc272f Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 14:54:47 +0000 Subject: [PATCH 1/2] Add src/app/contact/page.tsx --- src/app/contact/page.tsx | 150 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 src/app/contact/page.tsx diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx new file mode 100644 index 0000000..bfd196a --- /dev/null +++ b/src/app/contact/page.tsx @@ -0,0 +1,150 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple"; +import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; +import { Mail, Phone, User } from "lucide-react"; +import { useState } from "react"; + +export default function ContactPage() { + const [formData, setFormData] = useState({ + fullName: "", email: "", phoneNumber: ""}); + + const handleInputChange = (e: React.ChangeEvent) => { + const { name, value } = e.target; + setFormData((prev) => ({ + ...prev, + [name]: value, + })); + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + console.log("Form submitted:", formData); + // Reset form + setFormData({ + fullName: "", email: "", phoneNumber: ""}); + }; + + return ( + + + +
+
+
+

Contact Us

+

Join Youth Center Sport Field with our clean registration form

+
+ +
+
+ {/* Full Name Field */} +
+ + +
+ + {/* Email Address Field */} +
+ + +
+ + {/* Phone Number Field */} +
+ + +
+ + {/* Submit Button */} + +
+
+ +
+

We'll contact you soon to confirm your membership and get you started on your fitness journey.

+
+
+
+ + +
+ ); +} -- 2.49.1 From ff20dd1add1e3a6325ac00e401f8126d18e41172 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 14:54:48 +0000 Subject: [PATCH 2/2] Update src/app/page.tsx --- src/app/page.tsx | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 1435b15..6294af1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -32,6 +32,7 @@ export default function LandingPage() { { name: "Features", id: "features" }, { name: "Testimonials", id: "testimonials" }, { name: "Join", id: "contact" }, + { name: "Contact", id: "/contact" }, { name: "Location", id: "location" }, ]} /> @@ -152,7 +153,7 @@ export default function LandingPage() { title="Join Youth Center Sport Field Today" description="Take the first step towards your fitness goals. Register now and become part of our thriving fitness community in Addis Ababa." buttons={[ - { text: "Register Now", href: "#registration" }, + { text: "Register Now", href: "/contact" }, { text: "Learn More", href: "#features" }, ]} buttonAnimation="slide-up" @@ -161,22 +162,6 @@ export default function LandingPage() { /> -
- -
-
-- 2.49.1