diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx new file mode 100644 index 0000000..1ca69ca --- /dev/null +++ b/src/app/contact/page.tsx @@ -0,0 +1,82 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; +import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; +import FooterBaseCard from '@/components/sections/footer/FooterBaseCard'; + +export default function ContactPage() { + return ( + + + + +
+ console.log("Form submitted:", data)} + /> +
+ + +
+
+ ); +} diff --git a/src/app/page.tsx b/src/app/page.tsx index 7409158..c67ec17 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -37,7 +37,7 @@ export default function LandingPage() { { name: "Avis", id: "testimonials"}, { - name: "Contact", id: "contact"}, + name: "Contact", id: "/contact"}, ]} brandName="A. Terrassement" /> @@ -51,9 +51,9 @@ export default function LandingPage() { description="Un service de haute qualité, un travail propre et une équipe fiable dédiée à vos besoins en matière de terrain à Laudrefang." buttons={[ { - text: "Nous contacter", href: "#contact"}, + text: "Nous contacter", href: "/contact"}, { - text: "Demander un devis", href: "#contact"}, + text: "Demander un devis", href: "/contact"}, ]} imageSrc="http://img.b2bpic.net/premium-photo/excavator-actively-digging-through-mound-soil-dirt-creating-path-clearing-area_331695-43928.jpg?id=254812184" imageAlt="Préparation de terrain pour service de terrassement professionnel" @@ -117,18 +117,6 @@ export default function LandingPage() { /> -
- -
-