108 lines
2.5 KiB
TypeScript
108 lines
2.5 KiB
TypeScript
import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia';
|
|
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": "/"
|
|
},
|
|
{
|
|
"name": "Experience",
|
|
"href": "/experience"
|
|
},
|
|
{
|
|
"name": "Membership",
|
|
"href": "/membership"
|
|
},
|
|
{
|
|
"name": "Contact",
|
|
"href": "/contact"
|
|
},
|
|
{
|
|
"name": "Hero",
|
|
"href": "#hero"
|
|
},
|
|
{
|
|
"name": "Features",
|
|
"href": "#features"
|
|
},
|
|
{
|
|
"name": "Testimonials",
|
|
"href": "#testimonials"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="stagger" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloatingLogo
|
|
logo="COAB"
|
|
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
|
|
ctaButton={{
|
|
text: "Apply Now",
|
|
href: "/contact",
|
|
}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterSimpleMedia
|
|
brand="COAB Club"
|
|
columns={[
|
|
{
|
|
title: "Navigation",
|
|
items: [
|
|
{
|
|
label: "Home",
|
|
href: "/",
|
|
},
|
|
{
|
|
label: "Experience",
|
|
href: "/experience",
|
|
},
|
|
{
|
|
label: "Membership",
|
|
href: "/membership",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Legal",
|
|
items: [
|
|
{
|
|
label: "Privacy Policy",
|
|
href: "#",
|
|
},
|
|
{
|
|
label: "Terms of Service",
|
|
href: "#",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
copyright="© 2024 COAB Club. All rights reserved."
|
|
links={[
|
|
{
|
|
label: "Instagram",
|
|
href: "#",
|
|
},
|
|
{
|
|
label: "Twitter",
|
|
href: "#",
|
|
},
|
|
]}
|
|
imageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=5ny1r8"
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|