From a6a7c5ebd58ef60b92f27161257fd3a6fca64453 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Wed, 3 Jun 2026 13:38:00 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/components/Layout.tsx --- src/components/Layout.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index e7b44a2..211b4a3 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -51,7 +51,8 @@ export default function Layout() { href: "#contact", }} logo="The Grand Hotel" - navItems={navItems} /> + logoImageSrc="/placeholder-logo.png" + navItems={navItems} />
-- 2.49.1 From e580a68526f7dd1bf4a41a07ed941415298692e2 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 3 Jun 2026 13:38:07 +0000 Subject: [PATCH 2/2] Update src/components/Layout.tsx --- src/components/Layout.tsx | 76 ++++++++++++--------------------------- 1 file changed, 22 insertions(+), 54 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 211b4a3..1bf23c3 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -8,36 +8,28 @@ import { StyleProvider } from "@/components/ui/StyleProvider"; export default function Layout() { const navItems = [ { - "name": "Home", - "href": "#hero" + "name": "Home", "href": "#hero" }, { - "name": "About", - "href": "#about" + "name": "About", "href": "#about" }, { - "name": "Rooms", - "href": "#accommodation" + "name": "Rooms", "href": "#accommodation" }, { - "name": "Experiences", - "href": "#experiences" + "name": "Experiences", "href": "#experiences" }, { - "name": "Offers", - "href": "#offers" + "name": "Offers", "href": "#offers" }, { - "name": "Testimonials", - "href": "#testimonials" + "name": "Testimonials", "href": "#testimonials" }, { - "name": "FAQs", - "href": "#faq" + "name": "FAQs", "href": "#faq" }, { - "name": "Contact", - "href": "#contact" + "name": "Contact", "href": "#contact" } ]; @@ -47,12 +39,10 @@ export default function Layout() { + logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=6xbdeo" + navItems={navItems} />
@@ -64,57 +54,35 @@ export default function Layout() { { items: [ { - label: "About Us", - href: "#about", - }, + label: "About Us", href: "#about"}, { - label: "Careers", - href: "#", - }, + label: "Careers", href: "#"}, { - label: "Press", - href: "#", - }, + label: "Press", href: "#"}, { - label: "Contact", - href: "#contact", - }, + label: "Contact", href: "#contact"}, ], }, { items: [ { - label: "Rooms & Suites", - href: "#accommodation", - }, + label: "Rooms & Suites", href: "#accommodation"}, { - label: "Dining", - href: "#experiences", - }, + label: "Dining", href: "#experiences"}, { - label: "Spa & Wellness", - href: "#experiences", - }, + label: "Spa & Wellness", href: "#experiences"}, { - label: "Events", - href: "#experiences", - }, + label: "Events", href: "#experiences"}, ], }, { items: [ { - label: "Privacy Policy", - href: "#", - }, + label: "Privacy Policy", href: "#"}, { - label: "Terms of Service", - href: "#", - }, + label: "Terms of Service", href: "#"}, { - label: "Sitemap", - href: "#", - }, + label: "Sitemap", href: "#"}, ], }, ]} -- 2.49.1