Files
ab9a3f06-2ef8-4c93-b058-1cd…/src/components/Layout.tsx
2026-06-22 07:35:08 +00:00

76 lines
2.0 KiB
TypeScript

import FooterSimpleCard from '@/components/sections/footer/FooterSimpleCard';
import NavbarDropdown from '@/components/ui/NavbarDropdown';
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": "About", "href": "#about"
},
{
"name": "Services", "href": "#services"
},
{
"name": "Pricing", "href": "#pricing"
},
{
"name": "Contact", "href": "#contact"
},
{
"name": "Hero", "href": "#hero"
},
{
"name": "Testimonials", "href": "#testimonials"
},
{
"name": "Faq", "href": "#faq"
},
{ name: "Pricing", href: "/pricing" },
];
return (
<StyleProvider buttonVariant="elastic" siteBackground="noise" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarDropdown
logo="LA BOHÉM"
ctaButton={{
text: "Book Now", href: "#contact"}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimpleCard
brand="LA BOHÉM"
columns={[
{
title: "Studio", items: [
{
label: "Lönnrotinkatu 16", href: "#"},
{
label: "Kamppi, Helsinki", href: "#"},
],
},
{
title: "Social", items: [
{
label: "Instagram", href: "#"},
{
label: "Pinterest", href: "#"},
],
},
]}
copyright="© 2016-2024 LA BOHÉM. All rights reserved."
links={[]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}