From 6db7d3c0e71b9a8b8312c82e3242020ff725cff6 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 9 Mar 2026 14:22:11 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 6282005..e1d4923 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,37 +11,24 @@ import ProductCardOne from "@/components/sections/product/ProductCardOne"; import MetricCardFourteen from "@/components/sections/metrics/MetricCardFourteen"; import ContactCTA from "@/components/sections/contact/ContactCTA"; import FooterBase from "@/components/sections/footer/FooterBase"; -import { Sparkles, Heart, Coffee, Quote, ChefHat } from "lucide-react"; +import { Sparkles, Heart, Coffee, Quote, ChefHat, MapPin, Phone, Clock, Instagram, Facebook } from "lucide-react"; export default function HomePage() { const navItems = [ - { name: "Accueil", id: "home" }, + { name: "Accueil", id: "/" }, { name: "Le Restaurant", id: "le-restaurant" }, { name: "Menu", id: "menu" }, { name: "Galerie", id: "gallery" }, { name: "Contact", id: "contact" } ]; - const handleNavClick = (id: string) => { - if (id === "home") { - window.location.href = "/"; - } else if (id === "le-restaurant") { - window.location.href = "/le-restaurant"; - } else if (id === "menu" || id === "gallery" || id === "contact") { - const element = document.getElementById(id); - if (element) { - element.scrollIntoView({ behavior: "smooth" }); - } - } - }; - const footerColumns = [ { title: "Navigation", items: [ { label: "Accueil", href: "/" }, - { label: "À Propos", href: "/le-restaurant" }, - { label: "Galerie", href: "#gallery" }, - { label: "Contact", href: "#contact" } + { label: "À Propos", href: "#le-restaurant" }, + { label: "Menu", href: "#menu" }, + { label: "Galerie", href: "#gallery" } ] }, { @@ -57,6 +44,12 @@ export default function HomePage() { { label: "19h00-22h30", href: "#" }, { label: "Fermé le lundi", href: "#" } ] + }, + { + title: "Réseaux", items: [ + { label: "Instagram", href: "https://instagram.com" }, + { label: "Facebook", href: "https://facebook.com" } + ] } ]; @@ -77,7 +70,7 @@ export default function HomePage() { handleNavClick("contact") + text: "Réserver une table", href: "#contact" }} brandName="Caffè Mazzo" /> @@ -101,7 +94,7 @@ export default function HomePage() { /> -
+
); -} \ No newline at end of file +}