Update src/components/Layout.tsx
This commit is contained in:
@@ -7,91 +7,52 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Inicio",
|
||||
"href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Método",
|
||||
"href": "#about"
|
||||
},
|
||||
{
|
||||
"name": "Programas",
|
||||
"href": "#features"
|
||||
},
|
||||
{
|
||||
"name": "Reseñas",
|
||||
"href": "#testimonials"
|
||||
},
|
||||
{
|
||||
"name": "Contacto",
|
||||
"href": "#contact"
|
||||
},
|
||||
{
|
||||
"name": "Pricing",
|
||||
"href": "#pricing"
|
||||
},
|
||||
{
|
||||
"name": "Faq",
|
||||
"href": "#faq"
|
||||
}
|
||||
];
|
||||
{ "name": "Inicio", "href": "#hero" },
|
||||
{ "name": "Método", "href": "#about" },
|
||||
{ "name": "Programas", "href": "#features" },
|
||||
{ "name": "Reseñas", "href": "#testimonials" },
|
||||
{ "name": "Contacto", "href": "#contact" },
|
||||
{ "name": "Pricing", "href": "#pricing" },
|
||||
{ "name": "Faq", "href": "#faq" }
|
||||
];
|
||||
|
||||
return (
|
||||
<StyleProvider buttonVariant="bubble" siteBackground="floatingGradient" heroBackground="lightRaysCenter">
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Kumon Málaga"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1599305445671-ac291c95aaa9?w=200&h=200&fit=crop"
|
||||
ctaButton={{
|
||||
text: "Matricular",
|
||||
href: "#contact",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="Kumon Málaga"
|
||||
logoImageSrc="http://img.b2bpic.net/free-photo/emblem-icon-banner-badge-graphic_53876-125568.jpg"
|
||||
ctaButton={{
|
||||
text: "Matricular", href: "#contact"}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterSimple
|
||||
brand="Kumon Málaga"
|
||||
columns={[
|
||||
{
|
||||
title: "Programas",
|
||||
items: [
|
||||
brand="Kumon Málaga"
|
||||
columns={[
|
||||
{
|
||||
label: "Matemáticas",
|
||||
href: "#",
|
||||
title: "Programas", items: [
|
||||
{ label: "Matemáticas", href: "#" },
|
||||
{ label: "Lectura", href: "#" },
|
||||
{ label: "Inglés", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Lectura",
|
||||
href: "#",
|
||||
title: "Legal", items: [
|
||||
{ label: "Política de Privacidad", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Inglés",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
{
|
||||
label: "Política de Privacidad",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyright="© 2024 Centro Kumon Málaga. Todos los derechos reservados."
|
||||
links={[
|
||||
{
|
||||
label: "kumon.es",
|
||||
href: "https://kumon.es",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
]}
|
||||
copyright="© 2024 Centro Kumon Málaga. Todos los derechos reservados."
|
||||
links={[
|
||||
{ label: "kumon.es", href: "https://kumon.es" },
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user