Update src/components/Layout.tsx

This commit is contained in:
2026-06-14 15:59:20 +00:00
parent bc104fcdc5
commit dae84f4dd5

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": "Models",
"href": "#products"
"name": "Models", "href": "#products"
},
{
"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": "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="TRISTAR"
logoImageSrc="https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&q=80&w=100&h=100"
logoImageSrc="http://img.b2bpic.net/free-vector/legendary-racers-label_1284-50452.jpg"
ctaButton={{
text: "Book Test Ride",
href: "#contact",
}}
text: "Book Test Ride", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
@@ -58,67 +49,42 @@ export default function Layout() {
brand="TRISTAR"
columns={[
{
title: "Models",
items: [
title: "Models", items: [
{
label: "Sport",
href: "#products",
},
label: "Sport", href: "#products"},
{
label: "Cruiser",
href: "#products",
},
label: "Cruiser", href: "#products"},
{
label: "Electric",
href: "#products",
},
label: "Electric", href: "#products"},
],
},
{
title: "Company",
items: [
title: "Company", items: [
{
label: "About Us",
href: "#",
},
label: "About Us", href: "#"},
{
label: "Careers",
href: "#",
},
label: "Careers", href: "#"},
{
label: "Events",
href: "#",
},
label: "Events", href: "#"},
],
},
{
title: "Support",
items: [
title: "Support", items: [
{
label: "Service Centers",
href: "#",
},
label: "Service Centers", href: "#"},
{
label: "Manuals",
href: "#",
},
label: "Manuals", href: "#"},
{
label: "Contact",
href: "#contact",
},
label: "Contact", href: "#contact"},
],
},
]}
copyright="© 2024 Tristar Motorcycles. All rights reserved."
links={[
{
label: "Privacy Policy",
href: "#",
},
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service",
href: "#",
},
label: "Terms of Service", href: "#"},
]}
/>
</SectionErrorBoundary>