Merge version_1_1782225803504 into main
Merge version_1_1782225803504 into main
This commit was merged in pull request #2.
This commit is contained in:
@@ -2,63 +2,45 @@ import FooterMinimal from '@/components/sections/footer/FooterMinimal';
|
||||
import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot";
|
||||
import { Facebook, Instagram, Twitter } from "lucide-react";
|
||||
import { Outlet } from 'react-router-dom';
|
||||
import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Rooms", "href": "#rooms"
|
||||
},
|
||||
{
|
||||
"name": "Dining", "href": "#dining"
|
||||
},
|
||||
{
|
||||
"name": "About", "href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Contact", "href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Hero", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Features", "href": "#features"
|
||||
},
|
||||
{
|
||||
"name": "Metrics", "href": "#metrics"
|
||||
}
|
||||
];
|
||||
{ "name": "Rooms", "href": "#rooms" },
|
||||
{ "name": "Dining", "href": "#dining" },
|
||||
{ "name": "About", "href": "#about" },
|
||||
{ "name": "Contact", "href": "#contact" },
|
||||
{ "name": "Hero", "href": "#hero" },
|
||||
{ "name": "Features", "href": "#features" },
|
||||
{ "name": "Metrics", "href": "#metrics" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="bubble" siteBackground="gridDots" heroBackground="cornerGlow">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="The Boma"
|
||||
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=536q38"
|
||||
ctaButton={{
|
||||
text: "Book Now", href: "https://www.theboma.co.ke"}}
|
||||
navItems={navItems} />
|
||||
logo="The Boma"
|
||||
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=536q38"
|
||||
ctaButton={{ text: "Book Now", href: "https://www.theboma.co.ke" }}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterMinimal
|
||||
brand="The Boma Nairobi"
|
||||
copyright="© 2025 The Boma Nairobi. All rights reserved."
|
||||
socialLinks={[
|
||||
{
|
||||
icon: "Instagram", href: "#"},
|
||||
{
|
||||
icon: "Twitter", href: "#"},
|
||||
{
|
||||
icon: "Facebook", href: "#"},
|
||||
]}
|
||||
/>
|
||||
brand="The Boma Nairobi"
|
||||
copyright="© 2025 The Boma Nairobi. All rights reserved."
|
||||
socialLinks={[
|
||||
{ icon: "Instagram", href: "#" },
|
||||
{ icon: "Twitter", href: "#" },
|
||||
{ icon: "Facebook", href: "#" },
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user