Update src/components/Layout.tsx

This commit is contained in:
2026-06-13 16:38:57 +00:00
parent 32717761af
commit 5887b44d0c

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home",
"href": "#hero"
"name": "Home", "href": "#hero"
},
{
"name": "Menu",
"href": "#menu"
"name": "Menu", "href": "#menu"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Desserts",
"href": "#desserts"
"name": "Desserts", "href": "#desserts"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Mio Mondo"
logoImageSrc="https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=100&h=100&fit=crop&q=80"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=l91tng"
ctaButton={{
text: "Reserve Now",
href: "#contact",
}}
text: "Reserve Now", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,29 +49,19 @@ export default function Layout() {
brand="Mio Mondo Sousse"
columns={[
{
title: "Location",
items: [
title: "Location", items: [
{
label: "Boulevard du 14 Janvier",
href: "#",
},
label: "Boulevard du 14 Janvier", href: "#"},
{
label: "Khézema, Sousse, Tunisia",
href: "#",
},
label: "Khézema, Sousse, Tunisia", href: "#"},
],
},
{
title: "Contact",
items: [
title: "Contact", items: [
{
label: "+216 73 273 243",
href: "tel:+21673273243",
},
label: "+216 73 273 243", href: "tel:+21673273243"},
{
label: "+216 50 727 071",
href: "tel:+21650727071",
},
label: "+216 50 727 071", href: "tel:+21650727071"},
],
},
]}
@@ -88,13 +69,9 @@ export default function Layout() {
imageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=l91tng"
links={[
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
]}
/>
</SectionErrorBoundary>