Update src/components/Layout.tsx

This commit is contained in:
2026-06-16 02:41:26 +00:00
parent 9216589bd3
commit 37fd21644b

View File

@@ -7,98 +7,39 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Inicio",
"href": "#hero"
},
{
"name": "Nosotros",
"href": "#about"
},
{
"name": "Productos",
"href": "#products"
},
{
"name": "Contacto",
"href": "#contact"
},
{
"name": "Features",
"href": "#features"
},
{
"name": "Metrics",
"href": "#metrics"
},
{
"name": "Testimonials",
"href": "#testimonials"
}
];
{ name: "Inicio", href: "#hero" },
{ name: "Nosotros", href: "#about" },
{ name: "Productos", href: "#products" },
{ name: "Contacto", href: "#contact" },
{ name: "Features", href: "#features" },
{ name: "Metrics", href: "#metrics" },
{ name: "Testimonials", href: "#testimonials" }
];
return (
<StyleProvider buttonVariant="elastic" siteBackground="gridDots" heroBackground="cornerGlow">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="Seguros Bolívar"
logoImageSrc="https://images.unsplash.com/photo-1560179707-f14e90ef3623?w=100&h=100&fit=crop&q=80"
ctaButton={{
text: "Mi Portal",
href: "/login",
}}
navItems={navItems} />
logo="Seguros Bolívar"
logoImageSrc="http://img.b2bpic.net/free-vector/letter-b-p-o-initial-logo-designs-vector-illustration_384344-1687.jpg"
ctaButton={{ text: "Mi Portal", href: "/login" }}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterBasic
columns={[
{
title: "Empresa",
items: [
{
label: "Nosotros",
href: "#about",
},
{
label: "Empleos",
href: "#",
},
],
},
{
title: "Servicios",
items: [
{
label: "Cotizar",
href: "#",
},
{
label: "Pagos",
href: "#",
},
],
},
{
title: "Legal",
items: [
{
label: "Privacidad",
href: "#",
},
{
label: "Términos",
href: "#",
},
],
},
]}
leftText="© 2024 Seguros Bolívar. Todos los derechos reservados."
rightText="Vigilado Superintendencia Financiera de Colombia."
/>
columns={[
{ title: "Empresa", items: [{ label: "Nosotros", href: "#about" }, { label: "Empleos", href: "#" }] },
{ title: "Servicios", items: [{ label: "Cotizar", href: "#" }, { label: "Pagos", href: "#" }] },
{ title: "Legal", items: [{ label: "Privacidad", href: "#" }, { label: "Términos", href: "#" }] }
]}
leftText="© 2024 Seguros Bolívar. Todos los derechos reservados."
rightText="Vigilado Superintendencia Financiera de Colombia."
/>
</SectionErrorBoundary>
</StyleProvider>
);