Files
fdc8eb79-a861-4299-a8fb-9a5…/src/components/Layout.tsx
2026-06-13 19:13:20 +00:00

115 lines
2.4 KiB
TypeScript

import FooterSimple from '@/components/sections/footer/FooterSimple';
import NavbarInline from '@/components/ui/NavbarInline';
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": "Recursos",
"href": "#features"
},
{
"name": "Planos",
"href": "#pricing"
},
{
"name": "Sobre",
"href": "#about"
},
{
"name": "Hero",
"href": "#hero"
},
{
"name": "Product Grid",
"href": "#product-grid"
},
{
"name": "Team",
"href": "#team"
},
{
"name": "Testimonials",
"href": "#testimonials"
}
];
return (
<StyleProvider buttonVariant="arrow" siteBackground="gridDots" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarInline
logo="MedAngola"
ctaButton={{
text: "Agendar Demo",
href: "#contact",
}}
navItems={navItems} />
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterSimple
brand="MedAngola"
columns={[
{
title: "Produto",
items: [
{
label: "Funcionalidades",
href: "#features",
},
{
label: "Preços",
href: "#pricing",
},
],
},
{
title: "Empresa",
items: [
{
label: "Sobre",
href: "#about",
},
{
label: "Carreiras",
href: "#",
},
],
},
{
title: "Legal",
items: [
{
label: "Privacidade",
href: "#",
},
{
label: "Termos",
href: "#",
},
],
},
]}
copyright="© 2024 MedAngola SaaS. Todos os direitos reservados."
links={[
{
label: "LinkedIn",
href: "#",
},
{
label: "Twitter",
href: "#",
},
]}
/>
</SectionErrorBoundary>
</StyleProvider>
);
}