Bob AI: fix build errors (attempt 1)

This commit is contained in:
kudinDmitriyUp
2026-06-03 14:33:20 +00:00
parent 39d9941b58
commit 38b4a3e01d

View File

@@ -1,9 +1,9 @@
import FooterBrand from '@/components/sections/footer/FooterBrand';
import NavbarMinimal from '@/components/ui/NavbarMinimal';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
import Button from "@/components/ui/Button";
export default function Layout() {
const navItems = [
@@ -37,12 +37,21 @@ export default function Layout() {
<StyleProvider buttonVariant="stagger" siteBackground="noise" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
ctaButton={{
text: "Book Now", href: "#contact"}}
logo="The Grand Hotel"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=6xbdeo"
navItems={navItems} />
<nav className="sticky top-0 z-50 w-full bg-background/95 backdrop-blur-sm border-b border-foreground/10 py-4">
<div className="mx-auto flex w-content-width items-center justify-between">
<a href="#" className="text-xl md:text-2xl font-bold text-foreground tracking-tight">
The Grand Hotel
</a>
<div className="hidden lg:flex items-center gap-6">
{navItems.map((item) => (
<a key={item.name} href={item.href} className="text-sm font-medium text-foreground/80 hover:text-foreground transition-colors">
{item.name}
</a>
))}
</div>
<Button text="Book Now" href="#contact" variant="primary" />
</div>
</nav>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
@@ -90,4 +99,4 @@ export default function Layout() {
</SectionErrorBoundary>
</StyleProvider>
);
}
}