From c4d9ba4455c3c703e48db92829db868ac89083b3 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 7 Mar 2026 11:55:39 +0000 Subject: [PATCH] Add src/app/contact/page.tsx --- src/app/contact/page.tsx | 240 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 240 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..96d62d3 --- /dev/null +++ b/src/app/contact/page.tsx @@ -0,0 +1,240 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline"; +import ContactFaq from "@/components/sections/contact/ContactFaq"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; +import { Phone } from "lucide-react"; +import { useState } from "react"; +import Input from "@/components/form/Input"; + +export default function ContactPage() { + const [formData, setFormData] = useState({ + name: "", email: "", subject: "", message: ""}); + + const handleChange = (field: string, value: string) => { + setFormData((prev) => ({ ...prev, [field]: value })); + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + console.log("Form submitted:", formData); + setFormData({ name: "", email: "", subject: "", message: "" }); + }; + + return ( + + + +
+
+
+ {/* Contact Form */} +
+

Get in Touch

+

We'd love to hear from you. Send us a message and we'll respond as soon as possible.

+ +
+
+ + handleChange("name", value)} + placeholder="Your name" + required + /> +
+ +
+ + handleChange("email", value)} + type="email" + placeholder="your@email.com" + required + /> +
+ +
+ + handleChange("subject", value)} + placeholder="How can we help?" + required + /> +
+ +
+ +