From b34adc7de819cc98f53eeece9cc51b7867f08e7b Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 14 Jun 2026 20:18:36 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/components/Layout.tsx --- src/components/Layout.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 1a643a4..9b108eb 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -43,6 +43,7 @@ export default function Layout() { Date: Sun, 14 Jun 2026 20:18:40 +0000 Subject: [PATCH 2/2] Update src/components/Layout.tsx --- src/components/Layout.tsx | 78 +++++++++++---------------------------- 1 file changed, 22 insertions(+), 56 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 9b108eb..5938eb7 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -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": "Laptops", - "href": "#products" + "name": "Laptops", "href": "#products" }, { - "name": "Pricing", - "href": "#pricing" + "name": "Pricing", "href": "#pricing" }, { - "name": "Testimonials", - "href": "#testimonials" + "name": "Testimonials", "href": "#testimonials" }, { - "name": "Features", - "href": "#features" + "name": "Features", "href": "#features" }, { - "name": "Metrics", - "href": "#metrics" + "name": "Metrics", "href": "#metrics" }, { - "name": "Faq", - "href": "#faq" + "name": "Faq", "href": "#faq" } ]; @@ -45,9 +38,7 @@ export default function Layout() { logo="Apex Laptops" logoImageSrc="http://img.b2bpic.net/free-vector/gradient-electronics-logo-collection_23-2148965451.jpg" ctaButton={{ - text: "Shop Now", - href: "#products", - }} + text: "Shop Now", href: "#products"}} navItems={navItems} />
@@ -59,67 +50,42 @@ export default function Layout() { brand="Apex Laptops" columns={[ { - title: "Company", - items: [ + title: "Company", items: [ { - label: "About Us", - href: "#", - }, + label: "About Us", href: "#"}, { - label: "Careers", - href: "#", - }, + label: "Careers", href: "#"}, { - label: "Legal", - href: "#", - }, + label: "Legal", href: "#"}, ], }, { - title: "Products", - items: [ + title: "Products", items: [ { - label: "Laptops", - href: "#", - }, + label: "Laptops", href: "#"}, { - label: "Workstations", - href: "#", - }, + label: "Workstations", href: "#"}, { - label: "Accessories", - href: "#", - }, + label: "Accessories", href: "#"}, ], }, { - title: "Support", - items: [ + title: "Support", items: [ { - label: "FAQ", - href: "#", - }, + label: "FAQ", href: "#"}, { - label: "Warranty", - href: "#", - }, + label: "Warranty", href: "#"}, { - label: "Help Desk", - href: "#", - }, + label: "Help Desk", href: "#"}, ], }, ]} copyright="© 2024 Apex Technologies Inc. All rights reserved." links={[ { - label: "Terms of Service", - href: "#", - }, + label: "Terms of Service", href: "#"}, { - label: "Privacy Policy", - href: "#", - }, + label: "Privacy Policy", href: "#"}, ]} /> -- 2.49.1