Update src/components/Layout.tsx

This commit is contained in:
2026-06-16 02:01:14 +00:00
parent 6c4b456dd5
commit f84c76c43a

View File

@@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Shop",
"href": "#products"
"name": "Shop", "href": "#products"
},
{
"name": "About",
"href": "#about"
"name": "About", "href": "#about"
},
{
"name": "Services",
"href": "#services"
"name": "Services", "href": "#services"
},
{
"name": "Contact",
"href": "#contact"
"name": "Contact", "href": "#contact"
},
{
"name": "Hero",
"href": "#hero"
"name": "Hero", "href": "#hero"
},
{
"name": "Pricing",
"href": "#pricing"
"name": "Pricing", "href": "#pricing"
},
{
"name": "Testimonials",
"href": "#testimonials"
"name": "Testimonials", "href": "#testimonials"
}
];
@@ -43,11 +36,9 @@ export default function Layout() {
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Broadway Freeway Store"
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=128&h=128&q=80&fit=crop"
logoImageSrc="http://img.b2bpic.net/free-vector/gradient-shop-local-logo-design_23-2149613174.jpg"
ctaButton={{
text: "Shop Now",
href: "#products",
}}
text: "Shop Now", href: "#products"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,63 +49,40 @@ export default function Layout() {
brand="Broadway Freeway Store"
columns={[
{
title: "Store",
items: [
title: "Store", items: [
{
label: "About Us",
href: "#about",
},
label: "About Us", href: "#about"},
{
label: "Services",
href: "#services",
},
label: "Services", href: "#services"},
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
],
},
{
title: "Shop",
items: [
title: "Shop", items: [
{
label: "Browse Catalog",
href: "#products",
},
label: "Browse Catalog", href: "#products"},
{
label: "Wholesale Plans",
href: "#pricing",
},
label: "Wholesale Plans", href: "#pricing"},
{
label: "Fleet Services",
href: "#pricing",
},
label: "Fleet Services", href: "#pricing"},
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Use",
href: "#",
},
label: "Terms of Use", href: "#"},
],
},
]}
copyright="© 2024 Broadway Freeway Store. All rights reserved."
links={[
{
label: "Twitter",
href: "#",
},
label: "Twitter", href: "#"},
{
label: "Instagram",
href: "#",
},
label: "Instagram", href: "#"},
]}
imageSrc="http://img.b2bpic.net/free-vector/gradient-shop-local-logo-design_23-2149613174.jpg"
/>