Update src/components/Layout.tsx
This commit is contained in:
@@ -8,28 +8,22 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
|
||||
export default function Layout() {
|
||||
const navItems = [
|
||||
{
|
||||
"name": "Inicio",
|
||||
"href": "#hero"
|
||||
"name": "Inicio", "href": "#hero"
|
||||
},
|
||||
{
|
||||
"name": "Menú",
|
||||
"href": "#menu"
|
||||
"name": "Menú", "href": "#menu"
|
||||
},
|
||||
{
|
||||
"name": "Promociones",
|
||||
"href": "#promociones"
|
||||
"name": "Promociones", "href": "#promociones"
|
||||
},
|
||||
{
|
||||
"name": "Contacto",
|
||||
"href": "#contacto"
|
||||
"name": "Contacto", "href": "#contacto"
|
||||
},
|
||||
{
|
||||
"name": "Testimonios",
|
||||
"href": "#testimonios"
|
||||
"name": "Testimonios", "href": "#testimonios"
|
||||
},
|
||||
{
|
||||
"name": "Faq",
|
||||
"href": "#faq"
|
||||
"name": "Faq", "href": "#faq"
|
||||
}
|
||||
];
|
||||
|
||||
@@ -38,61 +32,46 @@ export default function Layout() {
|
||||
<SiteBackgroundSlot />
|
||||
<SectionErrorBoundary name="navbar">
|
||||
<NavbarFloatingLogo
|
||||
logo="Dulce Tentación"
|
||||
logoImageSrc="https://images.unsplash.com/photo-1551024601-bec78aea704b?q=80&w=256&h=256&auto=format&fit=crop"
|
||||
ctaButton={{
|
||||
text: "Pedir Ahora",
|
||||
href: "#contacto",
|
||||
}}
|
||||
navItems={navItems} />
|
||||
logo="Dulce Tentación"
|
||||
logoImageSrc="http://img.b2bpic.net/free-photo/female-confectioner-boxing-desserts_23-2150360237.jpg"
|
||||
ctaButton={{
|
||||
text: "Pedir Ahora", href: "#contacto"}}
|
||||
navItems={navItems}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<main className="flex-grow">
|
||||
<Outlet />
|
||||
</main>
|
||||
<SectionErrorBoundary name="footer">
|
||||
<FooterSimpleMedia
|
||||
brand="Dulce Tentación"
|
||||
columns={[
|
||||
{
|
||||
title: "Menú",
|
||||
items: [
|
||||
brand="Dulce Tentación"
|
||||
columns={[
|
||||
{
|
||||
label: "Tortas",
|
||||
href: "#menu",
|
||||
title: "Menú", items: [
|
||||
{
|
||||
label: "Tortas", href: "#menu"},
|
||||
{
|
||||
label: "Café", href: "#menu"},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Café",
|
||||
href: "#menu",
|
||||
title: "Legal", items: [
|
||||
{
|
||||
label: "Privacidad", href: "#"},
|
||||
{
|
||||
label: "Términos", href: "#"},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
]}
|
||||
copyright="© 2024 Dulce Tentación. Todos los derechos reservados."
|
||||
imageSrc="http://img.b2bpic.net/free-photo/female-confectioner-boxing-desserts_23-2150360237.jpg"
|
||||
links={[
|
||||
{
|
||||
label: "Privacidad",
|
||||
href: "#",
|
||||
},
|
||||
label: "Inicio", href: "#hero"},
|
||||
{
|
||||
label: "Términos",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyright="© 2024 Dulce Tentación. Todos los derechos reservados."
|
||||
imageSrc="http://img.b2bpic.net/free-photo/female-confectioner-boxing-desserts_23-2150360237.jpg"
|
||||
links={[
|
||||
{
|
||||
label: "Inicio",
|
||||
href: "#hero",
|
||||
},
|
||||
{
|
||||
label: "Menú",
|
||||
href: "#menu",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
label: "Menú", href: "#menu"},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</StyleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user