Merge version_2_1780258550475 into main #2

Merged
bender merged 25 commits from version_2_1780258550475 into main 2026-05-31 20:16:11 +00:00
Showing only changes of commit a2a6303dfd - Show all commits

View File

@@ -1,99 +0,0 @@
import FooterSimpleCard from '@/components/sections/footer/FooterSimpleCard';
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
import { Outlet } from 'react-router-dom';
import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Home", "href": "#home"
},
{
"name": "About", "href": "#about"
},
{
"name": "Rooms", "href": "#rooms"
},
{
"name": "Amenities", "href": "#amenities"
},
{
"name": "Reviews", "href": "#reviews"
},
{
"name": "Contact", "href": "#contact"
},
{
"name": "Metrics", "href": "#metrics"
}
];
return (
<StyleProvider buttonVariant="shift" siteBackground="floatingGradient" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="The Grand Hotel"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=rwf84p"
ctaButton={{
text: "Book Now", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="The Grand Hotel"
columns={[
{
title: "Explore", items: [
{
label: "Rooms & Suites", href: "#rooms"},
{
label: "Dining", href: "#"},
{
label: "Spa & Wellness", href: "#"},
{
label: "Events", href: "#"},
],
},
{
title: "About Us", items: [
{
label: "Our Story", href: "#about"},
{
label: "Guest Reviews", href: "#reviews"},
{
label: "Careers", href: "#"},
{
label: "Contact", href: "#contact"},
],
},
{
title: "Legal", items: [
{
label: "Privacy Policy", href: "#"},
{
label: "Terms of Service", href: "#"},
{
label: "Cookie Policy", href: "#"},
],
},
]}
copyright="© 2024 The Grand Hotel. All rights reserved."
links={[
{
label: "Instagram", href: "#"},
{
label: "Facebook", href: "#"},
{
label: "Twitter", href: "#"},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}