Merge version_2 into main #1
258
src/app/page.tsx
258
src/app/page.tsx
@@ -2,13 +2,14 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
||||
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
|
||||
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import ProductCardFour from '@/components/sections/product/ProductCardFour';
|
||||
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
|
||||
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -28,26 +29,11 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{
|
||||
name: "Inicio",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "Experiencia",
|
||||
id: "about",
|
||||
},
|
||||
{
|
||||
name: "Menú",
|
||||
id: "menu",
|
||||
},
|
||||
{
|
||||
name: "Opiniones",
|
||||
id: "testimonials",
|
||||
},
|
||||
{
|
||||
name: "Contacto",
|
||||
id: "contact",
|
||||
},
|
||||
{ name: "Inicio", id: "hero" },
|
||||
{ name: "Experiencia", id: "about" },
|
||||
{ name: "Menú", id: "menu" },
|
||||
{ name: "Opiniones", id: "testimonials" },
|
||||
{ name: "Contacto", id: "contact" },
|
||||
]}
|
||||
brandName="Casa Fermín"
|
||||
/>
|
||||
@@ -55,79 +41,18 @@ export default function LandingPage() {
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitKpi
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
background={{ variant: "plain" }}
|
||||
title="Cocina asturiana contemporánea en Oviedo"
|
||||
description="Una experiencia gastronómica inolvidable donde la tradición se encuentra con la innovación. Reserva tu mesa y vive la excelencia."
|
||||
kpis={[
|
||||
{
|
||||
value: "4.7 ⭐",
|
||||
label: "Calificación",
|
||||
},
|
||||
{
|
||||
value: "20+",
|
||||
label: "Años de tradición",
|
||||
},
|
||||
{
|
||||
value: "100%",
|
||||
label: "Producto local",
|
||||
},
|
||||
{ value: "4.7 ⭐", label: "Calificación" },
|
||||
{ value: "20+", label: "Años de tradición" },
|
||||
{ value: "100%", label: "Producto local" },
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
buttons={[
|
||||
{
|
||||
text: "Reservar mesa",
|
||||
href: "#contact",
|
||||
},
|
||||
]}
|
||||
buttons={[{ text: "Reservar mesa", href: "#contact" }]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/lamps-coffee-shop_116348-51.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/medium-shot-rich-woman-table_23-2149684353.jpg",
|
||||
alt: "Cliente 1",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/medium-shot-people-enyoing-dinner-party_23-2150717837.jpg",
|
||||
alt: "Cliente 2",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/young-woman-eating-enjoying-fresh-sushi_169016-1395.jpg",
|
||||
alt: "Cliente 3",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/adorable-lovely-woman-fashion-clothes-is-sitting-open-air-cafe-is-using-smartphone-waiting-friends-city-lights-background_291650-842.jpg",
|
||||
alt: "Cliente 4",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/laughing-girl-sitting-sofa-restaurant_23-2147680975.jpg",
|
||||
alt: "Cliente 5",
|
||||
},
|
||||
]}
|
||||
avatarText="+1000 clientes felices"
|
||||
marqueeItems={[
|
||||
{
|
||||
type: "text",
|
||||
text: "Producto de temporada",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Bodega seleccionada",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Cocina de autor",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Reserva online fácil",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Experiencia premium",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -135,19 +60,9 @@ export default function LandingPage() {
|
||||
<InlineImageSplitTextAbout
|
||||
useInvertedBackground={false}
|
||||
heading={[
|
||||
{
|
||||
type: "text",
|
||||
content: "Tradición y ",
|
||||
},
|
||||
{
|
||||
type: "image",
|
||||
src: "http://img.b2bpic.net/free-photo/man-chef-cooking-asian-chicken-cafe-kitchen_1303-32157.jpg",
|
||||
alt: "Cocina Gourmet",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
content: " Vanguardia",
|
||||
},
|
||||
{ type: "text", content: "Tradición y " },
|
||||
{ type: "image", src: "http://img.b2bpic.net/free-photo/man-chef-cooking-asian-chicken-cafe-kitchen_1303-32157.jpg", alt: "Cocina Gourmet" },
|
||||
{ type: "text", content: " Vanguardia" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -159,48 +74,9 @@ export default function LandingPage() {
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Menú Degustación",
|
||||
price: "75€",
|
||||
variant: "Selección del Chef",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-soft-cake-decorated-with-orange-chocolate-dark-table_140725-86436.jpg",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Maridaje Vinos",
|
||||
price: "35€",
|
||||
variant: "Selección Especial",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/lamb-wrapped-with-dough-tomato-sauce_114579-2133.jpg",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Solomillo de Ternera",
|
||||
price: "28€",
|
||||
variant: "Plato Principal",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-creamy-cake-with-chocolate-raisins-light-dark-floor_140725-136347.jpg",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Pescado de Lonja",
|
||||
price: "26€",
|
||||
variant: "Producto Fresco",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-hands-holding-black-plate-with-green-spinach-humus-with-brown-rice-shrimps_140725-12901.jpg",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Postre Artesano",
|
||||
price: "12€",
|
||||
variant: "Dulce Final",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-black-jelly-dessert-plate_23-2148238723.jpg",
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
name: "Degustación de Quesos",
|
||||
price: "18€",
|
||||
variant: "Selección Asturiana",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-squashes-designed-meal-inside-plate-grey-surface_140725-89993.jpg",
|
||||
},
|
||||
{ id: "1", name: "Menú Degustación", price: "75€", variant: "Selección del Chef", imageSrc: "http://img.b2bpic.net/free-photo/view-soft-cake-decorated-with-orange-chocolate-dark-table_140725-86436.jpg" },
|
||||
{ id: "2", name: "Maridaje Vinos", price: "35€", variant: "Selección Especial", imageSrc: "http://img.b2bpic.net/free-photo/lamb-wrapped-with-dough-tomato-sauce_114579-2133.jpg" },
|
||||
{ id: "3", name: "Solomillo de Ternera", price: "28€", variant: "Plato Principal", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-creamy-cake-with-chocolate-raisins-light-dark-floor_140725-136347.jpg" }
|
||||
]}
|
||||
title="Nuestra Carta"
|
||||
description="Descubre nuestros menús degustación y maridaje seleccionados por expertos."
|
||||
@@ -211,50 +87,41 @@ export default function LandingPage() {
|
||||
<TestimonialCardTwelve
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "María García",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-rich-woman-table_23-2149684353.jpg",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Juan Pérez",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-enyoing-dinner-party_23-2150717837.jpg",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Ana López",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-eating-enjoying-fresh-sushi_169016-1395.jpg",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Carlos Ruiz",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/adorable-lovely-woman-fashion-clothes-is-sitting-open-air-cafe-is-using-smartphone-waiting-friends-city-lights-background_291650-842.jpg",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Sofía Martínez",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/laughing-girl-sitting-sofa-restaurant_23-2147680975.jpg",
|
||||
},
|
||||
{ id: "1", name: "María García", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-rich-woman-table_23-2149684353.jpg" },
|
||||
{ id: "2", name: "Juan Pérez", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-enyoing-dinner-party_23-2150717837.jpg" }
|
||||
]}
|
||||
cardTitle="Lo que dicen nuestros clientes"
|
||||
cardTag="Opiniones"
|
||||
cardTitle="Reseñas verificadas"
|
||||
cardTag="Reserva tu mesa"
|
||||
cardAnimation="slide-up"
|
||||
buttons={[{ text: "Reserva Ahora", href: "#contact" }]}
|
||||
/>
|
||||
<SocialProofOne
|
||||
names={["Guía Michelin", "TripAdvisor", "El Tenedor", "Asturias Gastronómica"]}
|
||||
title="Reconocimientos destacados"
|
||||
description="Reservas gestionadas con confianza y avaladas por expertos."
|
||||
useInvertedBackground={true}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplit
|
||||
<ContactSplitForm
|
||||
title="Haz tu reserva"
|
||||
description="Completa el formulario y nos pondremos en contacto contigo para confirmar tu reserva. También puedes llamarnos directamente haciendo clic abajo."
|
||||
inputs={[
|
||||
{ name: "nombre", type: "text", placeholder: "Tu nombre" },
|
||||
{ name: "email", type: "email", placeholder: "Tu correo" },
|
||||
{ name: "telefono", type: "tel", placeholder: "Tu teléfono" }
|
||||
]}
|
||||
buttonText="Reservar mesa"
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
tag="Contacto"
|
||||
title="Reserva tu mesa"
|
||||
description="Estamos en el centro de Oviedo. Llámanos o rellena el formulario para reservar tu experiencia gastronómica hoy mismo."
|
||||
imageSrc="http://img.b2bpic.net/free-photo/building-night_1127-3365.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
className="py-20"
|
||||
/>
|
||||
<div className="flex justify-center p-10">
|
||||
<a href="tel:+34985000000" className="bg-primary text-white px-8 py-4 rounded-full font-bold shadow-lg hover:scale-105 transition-transform">
|
||||
Llamar al restaurante
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
@@ -263,37 +130,16 @@ export default function LandingPage() {
|
||||
logoText="Casa Fermín"
|
||||
columns={[
|
||||
{
|
||||
title: "Casa Fermín",
|
||||
items: [
|
||||
{
|
||||
label: "Dirección: C/ San Francisco, Oviedo",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Tel: +34 985 000 000",
|
||||
href: "tel:+34985000000",
|
||||
},
|
||||
title: "Casa Fermín", items: [
|
||||
{ label: "Reservas: +34 985 000 000", href: "tel:+34985000000" },
|
||||
{ label: "Reservar Online", href: "#contact" }
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Enlaces",
|
||||
items: [
|
||||
{
|
||||
label: "Inicio",
|
||||
href: "#hero",
|
||||
},
|
||||
{
|
||||
label: "Experiencia",
|
||||
href: "#about",
|
||||
},
|
||||
{
|
||||
label: "Menú",
|
||||
href: "#menu",
|
||||
},
|
||||
{
|
||||
label: "Contacto",
|
||||
href: "#contact",
|
||||
},
|
||||
title: "Navegación", items: [
|
||||
{ label: "Inicio", href: "#hero" },
|
||||
{ label: "Menú", href: "#menu" },
|
||||
{ label: "Opiniones", href: "#testimonials" }
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -302,4 +148,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -10,15 +10,15 @@
|
||||
--accent: #ffffff;
|
||||
--background-accent: #ffffff; */
|
||||
|
||||
--background: #f5f4ef;
|
||||
--card: #dad6cd;
|
||||
--foreground: #2a2928;
|
||||
--primary-cta: #2a2928;
|
||||
--background: #fcf6ec;
|
||||
--card: #f3ede2;
|
||||
--foreground: #2e2521;
|
||||
--primary-cta: #2e2521;
|
||||
--primary-cta-text: #f5f4ef;
|
||||
--secondary-cta: #ecebea;
|
||||
--secondary-cta: #ffffff;
|
||||
--secondary-cta-text: #2a2928;
|
||||
--accent: #ffffff;
|
||||
--background-accent: #c6b180;
|
||||
--accent: #b2a28b;
|
||||
--background-accent: #b2a28b;
|
||||
|
||||
/* text sizing - set by ThemeProvider */
|
||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||
|
||||
Reference in New Issue
Block a user