From 590cd4992659ff1363979b6b4353e56ff76f17bb Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 15 Jun 2026 17:20:48 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/components/Layout.tsx --- src/components/Layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 1ef6490..301d712 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -45,7 +45,7 @@ export default function Layout() { logo="GOODWIN" ctaButton={{ text: "Reserve Now", - id: "#contact", + href: "#contact", }} navItems={navItems} /> -- 2.49.1 From 033b566f75079d1a09a78cc96d047fe93dfda49d Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 15 Jun 2026 17:20:51 +0000 Subject: [PATCH 2/2] Update src/components/Layout.tsx --- src/components/Layout.tsx | 61 +++++++++++---------------------------- 1 file changed, 17 insertions(+), 44 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 301d712..849f998 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": "About", - "href": "#about" + "name": "About", "href": "#about" }, { - "name": "Menu", - "href": "#menu" + "name": "Menu", "href": "#menu" }, { - "name": "Reviews", - "href": "#testimonials" + "name": "Reviews", "href": "#testimonials" }, { - "name": "Hero", - "href": "#hero" + "name": "Hero", "href": "#hero" }, { - "name": "Experience", - "href": "#experience" + "name": "Experience", "href": "#experience" }, { - "name": "Social Proof", - "href": "#social-proof" + "name": "Social Proof", "href": "#social-proof" }, { - "name": "Contact", - "href": "#contact" + "name": "Contact", "href": "#contact" } ]; @@ -44,9 +37,7 @@ export default function Layout() {
@@ -59,49 +50,31 @@ export default function Layout() { { items: [ { - label: "Reserve a Table", - href: "#contact", - }, + label: "Reserve a Table", href: "#contact"}, { - label: "Private Events", - href: "#", - }, + label: "Private Events", href: "#"}, { - label: "Gift Cards", - href: "#", - }, + label: "Gift Cards", href: "#"}, ], }, { items: [ { - label: "Rue des Alpes, 1201 Geneva", - href: "#", - }, + label: "Rue des Alpes, 1201 Geneva", href: "#"}, { - label: "+41 22 123 45 67", - href: "tel:+41221234567", - }, + label: "+41 22 123 45 67", href: "tel:+41221234567"}, { - label: "info@goodwin.ch", - href: "mailto:info@goodwin.ch", - }, + label: "info@goodwin.ch", href: "mailto:info@goodwin.ch"}, ], }, { items: [ { - label: "Instagram", - href: "https://instagram.com", - }, + label: "Instagram", href: "https://instagram.com"}, { - label: "Google Reviews", - href: "#", - }, + label: "Google Reviews", href: "#"}, { - label: "Privacy Policy", - href: "#", - }, + label: "Privacy Policy", href: "#"}, ], }, ]} -- 2.49.1