64 lines
1.8 KiB
TypeScript
64 lines
1.8 KiB
TypeScript
import FooterBasic from '@/components/sections/footer/FooterBasic';
|
|
import NavbarCentered from '@/components/ui/NavbarCentered';
|
|
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": "Collections", "href": "#products"
|
|
},
|
|
{
|
|
"name": "Our Story", "href": "#features"
|
|
},
|
|
{
|
|
"name": "Testimonials", "href": "#testimonials"
|
|
},
|
|
{
|
|
"name": "Contact", "href": "#contact"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="bounce" siteBackground="aurora" heroBackground="lightRaysCorner">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarCentered
|
|
logo="LUMINA"
|
|
ctaButton={{
|
|
text: "Shop Now", href: "#products"}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterBasic
|
|
columns={[
|
|
{
|
|
title: "About", items: [
|
|
{
|
|
label: "Our Story", href: "#"},
|
|
{
|
|
label: "Process", href: "#"},
|
|
],
|
|
},
|
|
{
|
|
title: "Support", items: [
|
|
{
|
|
label: "Shipping", href: "#"},
|
|
{
|
|
label: "FAQs", href: "#"},
|
|
],
|
|
},
|
|
]}
|
|
leftText="© 2024 Lumina Artisanal. All rights reserved."
|
|
rightText="Designed for refined living."
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|