From d16a3c342f1eea4faad11e861694feb2f4b581c4 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Wed, 17 Jun 2026 14:17:34 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/components/Layout.tsx --- src/components/Layout.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 4c5c8fb..6d71aec 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -89,6 +89,10 @@ export default function Layout() { }, ]} copyright="© 2024 Shawarma Alassima. All rights reserved." + links={[ + { label: "Privacy Policy", href: "#" }, + { label: "Terms of Service", href: "#" } + ]} /> -- 2.49.1 From 22b2c63708ad95546b1ed1bd3b7dd48aa25e7006 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 17 Jun 2026 14:17:37 +0000 Subject: [PATCH 2/2] Update src/components/Layout.tsx --- src/components/Layout.tsx | 103 +++++++++++--------------------------- 1 file changed, 30 insertions(+), 73 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 6d71aec..e6bf315 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -7,94 +7,51 @@ import { StyleProvider } from "@/components/ui/StyleProvider"; export default function Layout() { const navItems = [ - { - "name": "Home", - "href": "#hero" - }, - { - "name": "About", - "href": "#about" - }, - { - "name": "Menu", - "href": "#menu" - }, - { - "name": "Reviews", - "href": "#testimonials" - }, - { - "name": "Contact", - "href": "#contact" - }, - { - "name": "Features", - "href": "#features" - }, - { - "name": "Metrics", - "href": "#metrics" - } -]; + { name: "Home", href: "#hero" }, + { name: "About", href: "#about" }, + { name: "Menu", href: "#menu" }, + { name: "Reviews", href: "#testimonials" }, + { name: "Contact", href: "#contact" }, + { name: "Features", href: "#features" }, + { name: "Metrics", href: "#metrics" } + ]; return ( + logo="Shawarma Alassima" + ctaButton={{ text: "Call Now", href: "tel:0778330094" }} + navItems={navItems} + />
+ title: "Contact", items: [ + { label: "Call: 07 78 33 00 94", href: "tel:0778330094" }, + { label: "Location: Marrakesh", href: "#" } + ] + } + ]} + copyright="© 2024 Shawarma Alassima. All rights reserved." + links={[{ label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }]} + />
); -} +} \ No newline at end of file -- 2.49.1