Update src/components/Layout.tsx

This commit is contained in:
2026-06-22 17:08:54 +00:00
parent 1f69518af3
commit 6bfe39f348

View File

@@ -7,30 +7,9 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "La Carte",
"href": "#carte"
},
{
"name": "Avis",
"href": "#avis"
},
{
"name": "Nous Trouver",
"href": "#visite"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "About",
"href": "#about"
},
{
"name": "Ambiance",
"href": "#ambiance"
}
{ name: "Carte", href: "#carte" },
{ name: "Avis", href: "#avis" },
{ name: "Nous Trouver", href: "#visite" }
];
return (
@@ -40,9 +19,7 @@ export default function Layout() {
<NavbarCentered
logo="Café La Rose"
ctaButton={{
text: "Réserver",
href: "#visite",
}}
text: "Réserver", href: "#visite"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -53,37 +30,24 @@ export default function Layout() {
brand="Café La Rose"
columns={[
{
title: "Menu",
items: [
{
label: "Carte",
href: "#carte",
},
{
label: "Avis",
href: "#avis",
},
title: "Menu", items: [
{ label: "Carte", href: "#carte" },
{ label: "Avis", href: "#avis" },
],
},
{
title: "Contact",
items: [
{
label: "Email",
href: "mailto:Larosedebouskoura@gmail.com",
},
{
label: "Maps",
href: "https://www.google.com/maps",
},
title: "Contact", items: [
{ label: "Email", href: "mailto:Larosedebouskoura@gmail.com" },
{ label: "Maps", href: "https://www.google.com/maps" },
],
},
]
}
links={[
{ label: "Mentions Légales", href: "#" },
{ label: "Politique de Confidentialité", href: "#" }
]}
copyright="© 2026 Café La Rose. Tous droits réservés."
links={[
{ label: "Mentions légales", href: "#" },
{ label: "Politique de confidentialité", href: "#" }
]}
/>
</SectionErrorBoundary>
</StyleProvider>