Update src/components/Layout.tsx

This commit is contained in:
2026-06-17 13:56:45 +00:00
parent 7591464ab1
commit 92259dd22b

View File

@@ -9,32 +9,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": "Story",
"href": "#about"
"name": "Story", "href": "#about"
},
{
"name": "Reserve",
"href": "#contact"
"name": "Reserve", "href": "#contact"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Team",
"href": "#team"
"name": "Team", "href": "#team"
},
{
"name": "Faq",
"href": "#faq"
"name": "Faq", "href": "#faq"
}
];
@@ -44,11 +37,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Olio"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=128&h=128&fit=crop&q=80"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=9lr3rz"
ctaButton={{
text: "Reserve",
href: "#contact",
}}
text: "Reserve", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -60,17 +51,11 @@ export default function Layout() {
copyright="© 2024 Ristorante Olio. All rights reserved."
socialLinks={[
{
icon: Instagram,
href: "#",
},
icon: "Instagram", href: "#"},
{
icon: Facebook,
href: "#",
},
icon: "Facebook", href: "#"},
{
icon: Twitter,
href: "#",
},
icon: "Twitter", href: "#"},
]}
/>
</SectionErrorBoundary>