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 + /> +
+ +
+ +