diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 8a22ab6..d71a50d 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -30,6 +30,7 @@ export default function AboutPage() { { name: "Catering", id: "/#catering" }, { name: "Events", id: "/#events" }, { name: "Visit", id: "/#visit" }, + { name: "Contact", id: "/contact" }, ]} brandName="Molisana Bakery" /> @@ -55,7 +56,7 @@ export default function AboutPage() { columns={[ { title: "Bakery", items: [{ label: "Menu", href: "/menu" }, { label: "Catering", href: "/#catering" }] }, { title: "Company", items: [{ label: "About Us", href: "/about" }, { label: "Events", href: "/#events" }] }, - { title: "Visit", items: [{ label: "Directions", href: "/#visit" }, { label: "Contact", onClick: () => { window.location.href = '/#contact'; } }] }, + { title: "Visit", items: [{ label: "Directions", href: "/#visit" }, { label: "Contact", href: "/contact" }] }, ]} bottomLeftText="© 2024 Molisana Bakery. All rights reserved." bottomRightText="Authentic Italian Daily Rituals" diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx new file mode 100644 index 0000000..423143b --- /dev/null +++ b/src/app/contact/page.tsx @@ -0,0 +1,64 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; +import ContactText from '@/components/sections/contact/ContactText'; +import FooterSimple from '@/components/sections/footer/FooterSimple'; + +export default function ContactPage() { + return ( + + + + +
+ +
+ + +
+
+ ); +} \ No newline at end of file diff --git a/src/app/menu/page.tsx b/src/app/menu/page.tsx index 05eb791..40b2d04 100644 --- a/src/app/menu/page.tsx +++ b/src/app/menu/page.tsx @@ -29,6 +29,7 @@ export default function MenuPage() { { name: "Catering", id: "/#catering" }, { name: "Events", id: "/#events" }, { name: "Visit", id: "/#visit" }, + { name: "Contact", id: "/contact" }, ]} brandName="Molisana Bakery" /> @@ -97,7 +98,7 @@ export default function MenuPage() { columns={[ { title: "Bakery", items: [{ label: "Menu", href: "/menu" }, { label: "Catering", href: "/#catering" }] }, { title: "Company", items: [{ label: "About Us", href: "/about" }, { label: "Events", href: "/#events" }] }, - { title: "Visit", items: [{ label: "Directions", href: "/#visit" }, { label: "Contact", onClick: () => { window.location.href = '/#contact'; } }] }, + { title: "Visit", items: [{ label: "Directions", href: "/#visit" }, { label: "Contact", href: "/contact" }] }, ]} bottomLeftText="© 2024 Molisana Bakery. All rights reserved." bottomRightText="Authentic Italian Daily Rituals" diff --git a/src/app/page.tsx b/src/app/page.tsx index 097d99e..247f5f4 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -34,6 +34,7 @@ export default function LandingPage() { { name: "Catering", id: "/#catering" }, { name: "Events", id: "/#events" }, { name: "Visit", id: "/#visit" }, + { name: "Contact", id: "/contact" }, ]} brandName="Molisana Bakery" /> @@ -119,24 +120,12 @@ export default function LandingPage() { /> -
- { const el = document.getElementById('contact'); el?.scrollIntoView({ behavior: 'smooth' }); } }, - ]} - /> -
-