56 lines
2.0 KiB
TypeScript
56 lines
2.0 KiB
TypeScript
import FooterBasic from '@/components/sections/footer/FooterBasic';
|
|
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": "Forfaits", "href": "#pricing" },
|
|
{ "name": "Méthode", "href": "#agency-vs" },
|
|
{ "name": "Bilano", "href": "#bilano" },
|
|
{ "name": "Hero", "href": "#hero" },
|
|
{ "name": "Inversion Risque", "href": "#inversion-risque" },
|
|
{ "name": "Faq", "href": "#faq" },
|
|
{ "name": "Contact", "href": "#contact" }
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="magnetic" siteBackground="noise" heroBackground="gradientBars">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloatingLogo
|
|
logo="Épure"
|
|
logoImageSrc="http://img.b2bpic.net/free-vector/elegant-minimalist-luxury-fashion-blog-logo-template_742173-17128.jpg"
|
|
ctaButton={{ text: "Réserver un brief", href: "#contact" }}
|
|
navItems={navItems}
|
|
/>
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterBasic
|
|
columns={[
|
|
{
|
|
title: "Épure", items: [
|
|
{ label: "Services", href: "#" },
|
|
{ label: "Méthode", href: "#" }
|
|
]
|
|
},
|
|
{
|
|
title: "Légal", items: [
|
|
{ label: "Mentions Légales", href: "#" },
|
|
{ label: "RGPD", href: "#" }
|
|
]
|
|
}
|
|
]}
|
|
leftText="© 2024 Épure. Factory Digitale."
|
|
rightText="Honnêteté radicale."
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|