Merge version_3 into main
Merge version_3 into main
This commit was merged in pull request #4.
This commit is contained in:
@@ -10,8 +10,6 @@ import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
|
||||
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
|
||||
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
|
||||
import { Leaf, Sparkles } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
@@ -33,21 +31,21 @@ export default function LandingPage() {
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{
|
||||
name: "Inicio", id: "#hero"},
|
||||
name: "Inicio", id: "/"},
|
||||
{
|
||||
name: "Nosotros", id: "#about"},
|
||||
name: "Nosotros", id: "/#about"},
|
||||
{
|
||||
name: "Valores", id: "#features"},
|
||||
name: "Valores", id: "/#features"},
|
||||
{
|
||||
name: "Carta", id: "#menu"},
|
||||
name: "Carta", id: "/products"},
|
||||
{
|
||||
name: "Horarios", id: "#hours"},
|
||||
name: "Horarios", id: "/#hours"},
|
||||
{
|
||||
name: "Reserva", id: "#reservation"},
|
||||
name: "Reserva", id: "/#reservation"},
|
||||
{
|
||||
name: "Reseñas", id: "#testimonials"},
|
||||
name: "Reseñas", id: "/#testimonials"},
|
||||
{
|
||||
name: "Contacto", id: "#contact"},
|
||||
name: "Contacto", id: "/#contact"},
|
||||
]}
|
||||
brandName="Don Pasquale"
|
||||
/>
|
||||
@@ -72,9 +70,9 @@ export default function LandingPage() {
|
||||
tagIcon={Sparkles}
|
||||
buttons={[
|
||||
{
|
||||
text: "Reserva una mesa", href: "#reservation"},
|
||||
text: "Reserva una mesa", href: "/#reservation"},
|
||||
{
|
||||
text: "Ver nuestra Carta", href: "#menu"},
|
||||
text: "Ver nuestra Carta", href: "/products"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/side-view-chef-baking-delicious-pizza_23-2150134279.jpg"
|
||||
imageAlt="Interior de la pizzería Don Pasquale con horno de leña"
|
||||
@@ -143,34 +141,7 @@ export default function LandingPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="menu" data-section="menu">
|
||||
<ProductCardOne
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "pizza-sorrentina", name: "Pizza Sorrentina", price: "14.50€", imageSrc: "http://img.b2bpic.net/free-photo/view-pizza-wooden-background_23-2148601580.jpg", imageAlt: "Pizza Sorrentina con tomate cherry"},
|
||||
{
|
||||
id: "pizza-4quesos", name: "Pizza 4 Quesos", price: "13.90€", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-pizza-with-cheese-cutlery_23-2148765336.jpg", imageAlt: "Pizza de cuatro quesos"},
|
||||
{
|
||||
id: "pizza-diavola", name: "Pizza Diavola", price: "15.00€", imageSrc: "http://img.b2bpic.net/free-photo/top-view-pepperoni-pizza-with-ingredients_23-2148765305.jpg", imageAlt: "Pizza Diavola picante"},
|
||||
{
|
||||
id: "pizza-margherita", name: "Pizza Margherita", price: "12.50€", imageSrc: "http://img.b2bpic.net/free-vector/italian-restaurant-template-design_23-2150191736.jpg", imageAlt: "Pizza Margherita clásica"},
|
||||
{
|
||||
id: "tortellini-3quesos", name: "Tortellini 3 Quesos", price: "11.80€", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-nuggets-boiled-pasta-white-bowl_114579-81612.jpg", imageAlt: "Plato de Tortellini 3 Quesos"},
|
||||
{
|
||||
id: "lasagna", name: "Lasaña Casera", price: "12.50€", imageSrc: "http://img.b2bpic.net/free-photo/customs-food-plate-high-angle_23-2149598955.jpg", imageAlt: "Porción de lasaña tradicional"},
|
||||
{
|
||||
id: "tiramisu", name: "Tiramisú", price: "6.00€", imageSrc: "http://img.b2bpic.net/free-photo/side-view-coffee-dessert-with-cream-chocolate-cup-coffee-beans-cup-tea-table_141793-3621.jpg", imageAlt: "Postre Tiramisú italiano"},
|
||||
{
|
||||
id: "tarta-queso", name: "Tarta de Queso", price: "5.50€", imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-cheese-cake-with-berries-top-wooden-plate-with-berries-side_181624-12453.jpg", imageAlt: "Tarta de queso con frutos rojos"},
|
||||
]}
|
||||
title="Nuestra Carta Destacada"
|
||||
description="Explora nuestra selección de especialidades, desde pizzas clásicas de horno de leña hasta exquisitas pastas y postres caseros."
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="hours" data-section="hours">
|
||||
<MetricCardEleven
|
||||
@@ -256,21 +227,21 @@ export default function LandingPage() {
|
||||
{
|
||||
title: "Explora", items: [
|
||||
{
|
||||
label: "Inicio", href: "#hero"},
|
||||
label: "Inicio", href: "/"},
|
||||
{
|
||||
label: "Sobre Nosotros", href: "#about"},
|
||||
label: "Sobre Nosotros", href: "/#about"},
|
||||
{
|
||||
label: "Nuestra Carta", href: "#menu"},
|
||||
label: "Nuestra Carta", href: "/products"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Contacto", items: [
|
||||
{
|
||||
label: "Ubicación", href: "#contact"},
|
||||
label: "Ubicación", href: "/#contact"},
|
||||
{
|
||||
label: "Teléfono", href: "tel:+34985512094"},
|
||||
{
|
||||
label: "Reservas", href: "#reservation"},
|
||||
label: "Reservas", href: "/#reservation"},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
126
src/app/products/page.tsx
Normal file
126
src/app/products/page.tsx
Normal file
@@ -0,0 +1,126 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog";
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
||||
import { Leaf, Sparkles } from "lucide-react";
|
||||
|
||||
export default function ProductsPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="icon-arrow"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="rounded"
|
||||
contentWidth="mediumSmall"
|
||||
sizing="largeSmallSizeLargeTitles"
|
||||
background="noise"
|
||||
cardStyle="gradient-bordered"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{
|
||||
name: "Inicio", id: "/"},
|
||||
{
|
||||
name: "Nosotros", id: "/#about"},
|
||||
{
|
||||
name: "Valores", id: "/#features"},
|
||||
{
|
||||
name: "Carta", id: "/products"},
|
||||
{
|
||||
name: "Horarios", id: "/#hours"},
|
||||
{
|
||||
name: "Reserva", id: "/#reservation"},
|
||||
{
|
||||
name: "Reseñas", id: "/#testimonials"},
|
||||
{
|
||||
name: "Contacto", id: "/#contact"},
|
||||
]}
|
||||
brandName="Don Pasquale"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="products-catalog" data-section="products-catalog">
|
||||
<ProductCatalog
|
||||
layout="page"
|
||||
title="Nuestra Carta Completa"
|
||||
description="Explora todas nuestras especialidades, desde pizzas artesanales hasta deliciosas pastas y postres italianos."
|
||||
products={[
|
||||
{
|
||||
id: "pizza-sorrentina", name: "Pizza Sorrentina", price: "14.50€", imageSrc: "http://img.b2bpic.net/free-photo/view-pizza-wooden-background_23-2148601580.jpg", imageAlt: "Pizza Sorrentina con tomate cherry", rating: 4.5,
|
||||
reviewCount: "250"},
|
||||
{
|
||||
id: "pizza-4quesos", name: "Pizza 4 Quesos", price: "13.90€", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-pizza-with-cheese-cutlery_23-2148765336.jpg", imageAlt: "Pizza de cuatro quesos", rating: 4.8,
|
||||
reviewCount: "320"},
|
||||
{
|
||||
id: "pizza-diavola", name: "Pizza Diavola", price: "15.00€", imageSrc: "http://img.b2bpic.net/free-photo/top-view-pepperoni-pizza-with-ingredients_23-2148765305.jpg", imageAlt: "Pizza Diavola picante", rating: 4.2,
|
||||
reviewCount: "180"},
|
||||
{
|
||||
id: "pizza-margherita", name: "Pizza Margherita", price: "12.50€", imageSrc: "http://img.b2bpic.net/free-vector/italian-restaurant-template-design_23-2150191736.jpg", imageAlt: "Pizza Margherita clásica", rating: 4.7,
|
||||
reviewCount: "400"},
|
||||
{
|
||||
id: "tortellini-3quesos", name: "Tortellini 3 Quesos", price: "11.80€", imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-nuggets-boiled-pasta-white-bowl_114579-81612.jpg", imageAlt: "Plato de Tortellini 3 Quesos", rating: 4.6,
|
||||
reviewCount: "150"},
|
||||
{
|
||||
id: "lasagna", name: "Lasaña Casera", price: "12.50€", imageSrc: "http://img.b2bpic.net/free-photo/customs-food-plate-high-angle_23-2149598955.jpg", imageAlt: "Porción de lasaña tradicional", rating: 4.9,
|
||||
reviewCount: "280"},
|
||||
{
|
||||
id: "tiramisu", name: "Tiramisú", price: "6.00€", imageSrc: "http://img.b2bpic.net/free-photo/side-view-coffee-dessert-with-cream-chocolate-cup-coffee-beans-cup-tea-table_141793-3621.jpg", imageAlt: "Postre Tiramisú italiano", rating: 4.7,
|
||||
reviewCount: "200"},
|
||||
{
|
||||
id: "tarta-queso", name: "Tarta de Queso", price: "5.50€", imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-cheese-cake-with-berries-top-wooden-plate-with-berries-side_181624-12453.jpg", imageAlt: "Tarta de queso con frutos rojos", rating: 4.4,
|
||||
reviewCount: "170"},
|
||||
]}
|
||||
searchPlaceholder="Buscar plato..."
|
||||
emptyMessage="No encontramos ese plato en nuestra carta."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterMedia
|
||||
imageSrc="http://img.b2bpic.net/free-photo/delicious-pizza-indoors_23-2150901147.jpg"
|
||||
imageAlt="Ambiente de restaurante italiano"
|
||||
logoText="Don Pasquale"
|
||||
columns={[
|
||||
{
|
||||
title: "Explora", items: [
|
||||
{
|
||||
label: "Inicio", href: "/"},
|
||||
{
|
||||
label: "Sobre Nosotros", href: "/#about"},
|
||||
{
|
||||
label: "Nuestra Carta", href: "/products"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Contacto", items: [
|
||||
{
|
||||
label: "Ubicación", href: "/#contact"},
|
||||
{
|
||||
label: "Teléfono", href: "tel:+34985512094"},
|
||||
{
|
||||
label: "Reservas", href: "/#reservation"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal", items: [
|
||||
{
|
||||
label: "Política de Privacidad", href: "#"},
|
||||
{
|
||||
label: "Términos de Servicio", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyrightText="© 2024 Don Pasquale. Todos los derechos reservados."
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user