Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 16:27:29 +00:00
parent a2a0c74474
commit c8e9703726

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Menu",
"href": "#catalog"
"name": "Menu", "href": "#catalog"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Pricing",
"href": "#pricing"
"name": "Pricing", "href": "#pricing"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Features",
"href": "#features"
"name": "Features", "href": "#features"
},
{
"name": "Metrics",
"href": "#metrics"
"name": "Metrics", "href": "#metrics"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Beauty Food"
logoImageSrc="https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=100&q=80"
logoImageSrc="http://img.b2bpic.net/free-photo/take-away-food-composition_23-2147805006.jpg"
ctaButton={{
text: "Order Now",
href: "#contact",
}}
text: "Order Now", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -57,29 +48,19 @@ export default function Layout() {
<FooterBasic
columns={[
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About",
href: "#about",
},
label: "About", href: "#about"},
{
label: "Careers",
href: "#",
},
label: "Careers", href: "#"},
],
},
{
title: "Support",
items: [
title: "Support", items: [
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
{
label: "FAQ",
href: "#",
},
label: "FAQ", href: "#"},
],
},
]}