Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 17:45:35 +00:00
parent 5d5203ca94
commit f292a0d0d4

View File

@@ -9,32 +9,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Menu",
"href": "#menu"
"name": "Menu", "href": "#menu"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Menu Features",
"href": "#menu-features"
"name": "Menu Features", "href": "#menu-features"
},
{
"name": "Pricing",
"href": "#pricing"
"name": "Pricing", "href": "#pricing"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
}
];
@@ -44,11 +37,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Bubbles Tree"
logoImageSrc="https://images.unsplash.com/photo-1511920170033-f8396924c348?w=128&h=128&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-vector/premium-botanical-tree-logo-brand-identity-template_1017-50523.jpg"
ctaButton={{
text: "Reserve Now",
href: "#contact",
}}
text: "Reserve Now", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -60,17 +51,11 @@ export default function Layout() {
copyright="© 2024 Bubbles Tree Café. All rights reserved."
socialLinks={[
{
icon: Instagram,
href: "#",
},
icon: "Instagram", href: "#"},
{
icon: Twitter,
href: "#",
},
icon: "Twitter", href: "#"},
{
icon: Facebook,
href: "#",
},
icon: "Facebook", href: "#"},
]}
/>
</SectionErrorBoundary>