92 lines
2.0 KiB
TypeScript
92 lines
2.0 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": "Services",
|
|
"href": "#services"
|
|
},
|
|
{
|
|
"name": "About",
|
|
"href": "#about"
|
|
},
|
|
{
|
|
"name": "Access",
|
|
"href": "#access"
|
|
},
|
|
{
|
|
"name": "Hero",
|
|
"href": "#hero"
|
|
},
|
|
{
|
|
"name": "Concerns",
|
|
"href": "#concerns"
|
|
},
|
|
{
|
|
"name": "Process",
|
|
"href": "#process"
|
|
},
|
|
{
|
|
"name": "Team",
|
|
"href": "#team"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="magnetic" siteBackground="gridLines" heroBackground="lightRaysCorner">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarCentered
|
|
logo="Karada Reset"
|
|
ctaButton={{
|
|
text: "Book Now",
|
|
href: "#contact",
|
|
}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterBasic
|
|
columns={[
|
|
{
|
|
title: "Menu",
|
|
items: [
|
|
{
|
|
label: "Services",
|
|
href: "#services",
|
|
},
|
|
{
|
|
label: "Process",
|
|
href: "#process",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Legal",
|
|
items: [
|
|
{
|
|
label: "Privacy Policy",
|
|
href: "#",
|
|
},
|
|
{
|
|
label: "Demo Disclaimer",
|
|
href: "#",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
leftText="© 2024 Karada Reset Seitai Studio."
|
|
rightText="Nakano, Tokyo."
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|