92 lines
2.1 KiB
TypeScript
92 lines
2.1 KiB
TypeScript
import FooterBasic from '@/components/sections/footer/FooterBasic';
|
|
import NavbarFloating from '@/components/ui/NavbarFloating';
|
|
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": "Início",
|
|
"href": "#hero"
|
|
},
|
|
{
|
|
"name": "Sobre",
|
|
"href": "#about"
|
|
},
|
|
{
|
|
"name": "Benefícios",
|
|
"href": "#features"
|
|
},
|
|
{
|
|
"name": "Contato",
|
|
"href": "#contact"
|
|
},
|
|
{
|
|
"name": "Social Proof",
|
|
"href": "#social-proof"
|
|
},
|
|
{
|
|
"name": "Metrics",
|
|
"href": "#metrics"
|
|
},
|
|
{
|
|
"name": "Testimonial",
|
|
"href": "#testimonial"
|
|
}
|
|
];
|
|
|
|
return (
|
|
<StyleProvider buttonVariant="bubble" siteBackground="noise" heroBackground="lightRaysCenter">
|
|
<SiteBackgroundSlot />
|
|
<SectionErrorBoundary name="navbar">
|
|
<NavbarFloating
|
|
logo="Mohav"
|
|
ctaButton={{
|
|
text: "Falar no WhatsApp",
|
|
href: "https://wa.me/5511975586228",
|
|
}}
|
|
navItems={navItems} />
|
|
</SectionErrorBoundary>
|
|
<main className="flex-grow">
|
|
<Outlet />
|
|
</main>
|
|
<SectionErrorBoundary name="footer">
|
|
<FooterBasic
|
|
columns={[
|
|
{
|
|
title: "Mohav",
|
|
items: [
|
|
{
|
|
label: "Sobre Nós",
|
|
href: "#about",
|
|
},
|
|
{
|
|
label: "Serviços",
|
|
href: "#features",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Contato",
|
|
items: [
|
|
{
|
|
label: "(11) 97558-6228",
|
|
href: "tel:5511975586228",
|
|
},
|
|
{
|
|
label: "Jundiaí - SP",
|
|
href: "#",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
leftText="© 2024 Mohav Proteção Veicular"
|
|
rightText="R. Gen. Osório, 61 - Vila Torres Neves, Jundiaí - SP"
|
|
/>
|
|
</SectionErrorBoundary>
|
|
</StyleProvider>
|
|
);
|
|
}
|