diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 99cdbfa..6460200 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -2,8 +2,9 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; -import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; +import Input from '@/components/form/Input'; import Link from "next/link"; +import { useState } from 'react'; interface FooterProps { brandName?: string; @@ -32,9 +33,18 @@ const Footer: React.FC = ({ brandName = "Nexsoft Australia", navIte ); }; + export default function ContactPage() { + const [name, setName] = useState(''); + const [email, setEmail] = useState(''); + const [message, setMessage] = useState(''); + const navItems = [ {name: "Home", id: "home", href: "/"}, + {name: "About us", id: "about", href: "/about"}, + {name: "Products", id: "products", href: "/products"}, + {name: "Achievements", id: "achievements", href: "/portfolio"}, + {name: "News", id: "news", href: "/portfolio"}, {name: "Contact us", id: "contact", href: "/contact"} ]; @@ -43,9 +53,14 @@ export default function ContactPage() { button: {text: "Get a Quote", href: "/contact"} }; - const handleFormSubmit = (data: Record) => { - console.log("Form submitted:", data); - alert("Thank you for your message! We will get back to you soon."); + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + // Handle form submission logic here + console.log({ name, email, message }); + alert('Message sent successfully!'); + setName(''); + setEmail(''); + setMessage(''); }; return ( @@ -64,25 +79,90 @@ export default function ContactPage() { -
- -
+
+

Contact Us

+ +
+
+

Send us a Message

+
+
+ + +
+
+ + +
+
+ + +
+ +
+
+ +
+

Find Us on the Map

+
+ +
+
+

Our Address:

+

123 Business Street, Suite 400

+

Melbourne, VIC 3000

+

Australia

+

Phone: +61 3 1234 5678

+

Email: info@nexsoft.com.au

+
+
+
+