From 008280b6fe0ff6eaed0dc46858050e46c43b6012 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 09:27:09 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/components/Layout.tsx --- src/components/Layout.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 2d0cd36..071889c 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -58,27 +58,27 @@ export default function Layout() { copyright="© 2026 Brand. All rights reserved." columns={[ { - heading: "Product", + title: "Product", links: [ { - text: "Features", + label: "Features", href: "#features", }, { - text: "Pricing", + label: "Pricing", href: "#pricing", }, ], }, { - heading: "Company", + title: "Company", links: [ { - text: "About", + label: "About", href: "#about", }, { - text: "Contact", + label: "Contact", href: "#contact", }, ], @@ -86,11 +86,11 @@ export default function Layout() { ]} links={[ { - text: "Privacy", + label: "Privacy", href: "#", }, { - text: "Terms", + label: "Terms", href: "#", }, ]} -- 2.49.1 From 65814928648c9e0589a44586698b1159dfaaae6c Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 21 Jun 2026 09:27:12 +0000 Subject: [PATCH 2/2] Update src/components/Layout.tsx --- src/components/Layout.tsx | 55 ++++++++++++--------------------------- 1 file changed, 16 insertions(+), 39 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 071889c..9993d09 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": "الرئيسية", - "href": "/" + "name": "الرئيسية", "href": "/" }, { - "name": "خدماتنا", - "href": "#services" + "name": "خدماتنا", "href": "#services" }, { - "name": "فريقنا", - "href": "#team" + "name": "فريقنا", "href": "#team" }, { - "name": "تواصل معنا", - "href": "#contact" + "name": "تواصل معنا", "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" } ]; @@ -44,9 +37,7 @@ export default function Layout() {
@@ -58,41 +49,27 @@ export default function Layout() { copyright="© 2026 Brand. All rights reserved." columns={[ { - title: "Product", - links: [ + title: "Product", links: [ { - label: "Features", - href: "#features", - }, + label: "Features", href: "#features"}, { - label: "Pricing", - href: "#pricing", - }, + label: "Pricing", href: "#pricing"}, ], }, { - title: "Company", - links: [ + title: "Company", links: [ { - label: "About", - href: "#about", - }, + label: "About", href: "#about"}, { - label: "Contact", - href: "#contact", - }, + label: "Contact", href: "#contact"}, ], }, ]} links={[ { - label: "Privacy", - href: "#", - }, + label: "Privacy", href: "#"}, { - label: "Terms", - href: "#", - }, + label: "Terms", href: "#"}, ]} /> -- 2.49.1