Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 59c5293af6 | |||
| 4bcc4bdcda | |||
| bc44cdbd93 | |||
| 90576fa400 | |||
| 91a000c159 | |||
| dfbea3aad5 | |||
| ba5bf2fbf7 | |||
| fc7b6fd399 | |||
| 9cde8ee415 | |||
| d289161fb3 |
@@ -4,7 +4,6 @@ import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import "@/lib/gsap-setup";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Poppins } from "next/font/google";
|
||||
|
||||
@@ -30,7 +29,7 @@ export default function RootLayout({
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${poppins.variable} antialiased`}>
|
||||
<Tag />
|
||||
|
||||
{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
|
||||
239
src/app/page.tsx
239
src/app/page.tsx
@@ -32,21 +32,13 @@ export default function LandingPage() {
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{
|
||||
name: "Inicio",
|
||||
id: "#hero",
|
||||
},
|
||||
name: "Inicio", id: "#hero"},
|
||||
{
|
||||
name: "Bodega",
|
||||
id: "#about",
|
||||
},
|
||||
name: "Bodega", id: "#about"},
|
||||
{
|
||||
name: "Vinos",
|
||||
id: "#products",
|
||||
},
|
||||
name: "Vinos", id: "#products"},
|
||||
{
|
||||
name: "Visitas",
|
||||
id: "#contact",
|
||||
},
|
||||
name: "Visitas", id: "#contact"},
|
||||
]}
|
||||
brandName="Barón d'Alba"
|
||||
/>
|
||||
@@ -55,79 +47,50 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitKpi
|
||||
background={{
|
||||
variant: "radial-gradient",
|
||||
}}
|
||||
variant: "radial-gradient"}}
|
||||
title="El tiempo embotellado"
|
||||
description="Una bodega que vende tiempo, paciencia y un trozo de Castellón. Aquí la tierra es vieja."
|
||||
kpis={[
|
||||
{
|
||||
value: "1923",
|
||||
label: "Fundación",
|
||||
},
|
||||
value: "1923", label: "Fundación"},
|
||||
{
|
||||
value: "12",
|
||||
label: "Hectáreas",
|
||||
},
|
||||
value: "12", label: "Hectáreas"},
|
||||
{
|
||||
value: "480m",
|
||||
label: "Altitud",
|
||||
},
|
||||
value: "480m", label: "Altitud"},
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
buttons={[
|
||||
{
|
||||
text: "Explorar Vinos",
|
||||
href: "#products",
|
||||
},
|
||||
text: "Explorar Vinos", href: "#products"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/cinematic-style-view-red-grapes-vineyard_23-2151570061.jpg?_wi=1"
|
||||
imageAlt="Viñedos al amanecer"
|
||||
mediaAnimation="blur-reveal"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/green-red-vineyard-rows-sunset-moldova-glowing-orange-sun_1268-15926.jpg",
|
||||
alt: "Usuario 1",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/green-red-vineyard-rows-sunset-moldova-glowing-orange-sun_1268-15926.jpg", alt: "Usuario 1"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/high-angle-shot-landscape-with-green-grass-range-mountains_181624-13737.jpg",
|
||||
alt: "Usuario 2",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/high-angle-shot-landscape-with-green-grass-range-mountains_181624-13737.jpg", alt: "Usuario 2"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/hill-slope-with-rare-trees-grazing-goats-moldova_1268-15989.jpg",
|
||||
alt: "Usuario 3",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/hill-slope-with-rare-trees-grazing-goats-moldova_1268-15989.jpg", alt: "Usuario 3"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/high-angle-view-beautiful-green-landscape-with-pathway-cloudy-sky_181624-17759.jpg",
|
||||
alt: "Usuario 4",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/high-angle-view-beautiful-green-landscape-with-pathway-cloudy-sky_181624-17759.jpg", alt: "Usuario 4"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/wine-cellar_181624-1264.jpg",
|
||||
alt: "Usuario 5",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/wine-cellar_181624-1264.jpg", alt: "Usuario 5"},
|
||||
]}
|
||||
avatarText="Más de 500 expertos nos avalan"
|
||||
marqueeItems={[
|
||||
{
|
||||
type: "text",
|
||||
text: "Tradición desde 1923",
|
||||
type: "text", text: "Tradición desde 1923"},
|
||||
{
|
||||
type: "text", text: "Terroir de Castellón"},
|
||||
{
|
||||
type: "text-icon", text: "Artesanía total", icon: ShieldCheck,
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Terroir de Castellón",
|
||||
},
|
||||
type: "text", text: "Paciencia como ingrediente"},
|
||||
{
|
||||
type: "text-icon",
|
||||
text: "Artesanía total",
|
||||
icon: ShieldCheck,
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Paciencia como ingrediente",
|
||||
},
|
||||
{
|
||||
type: "text-icon",
|
||||
text: "Calidad certificada",
|
||||
icon: Wine,
|
||||
type: "text-icon", text: "Calidad certificada", icon: Wine,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
@@ -141,17 +104,11 @@ export default function LandingPage() {
|
||||
description="No es una bodega que vende vino. Es un espacio de silencio, piedra fría y luz oblicua. Escuchamos lo que la tierra tiene que decir."
|
||||
bulletPoints={[
|
||||
{
|
||||
title: "Tradición desde 1923",
|
||||
description: "Paciencia como ingrediente principal.",
|
||||
},
|
||||
title: "Tradición desde 1923", description: "Paciencia como ingrediente principal."},
|
||||
{
|
||||
title: "Terroir Único",
|
||||
description: "Un trozo de tierra de Castellón.",
|
||||
},
|
||||
title: "Terroir Único", description: "Un trozo de tierra de Castellón."},
|
||||
{
|
||||
title: "Artesanía total",
|
||||
description: "Respeto absoluto al ciclo natural.",
|
||||
},
|
||||
title: "Artesanía total", description: "Respeto absoluto al ciclo natural."},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/stone-natural-room-interior-design_23-2151890391.jpg?_wi=1"
|
||||
imageAlt="Bodega Barón d'Alba"
|
||||
@@ -165,23 +122,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "Cultivo Consciente",
|
||||
description: "Respeto total por el suelo.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bottles-wine-laid-wooden-table_23-2148243113.jpg?_wi=1",
|
||||
imageAlt: "Viñedos",
|
||||
},
|
||||
title: "Cultivo Consciente", description: "Respeto total por el suelo.", imageSrc: "http://img.b2bpic.net/free-photo/bottles-wine-laid-wooden-table_23-2148243113.jpg?_wi=1", imageAlt: "Viñedos"},
|
||||
{
|
||||
title: "Crianza en Silencio",
|
||||
description: "El vino necesita tiempo.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/liquor-bottle-with-candle-scarf-plant-pot_176474-6084.jpg?_wi=1",
|
||||
imageAlt: "Barricas",
|
||||
},
|
||||
title: "Crianza en Silencio", description: "El vino necesita tiempo.", imageSrc: "http://img.b2bpic.net/free-photo/liquor-bottle-with-candle-scarf-plant-pot_176474-6084.jpg?_wi=1", imageAlt: "Barricas"},
|
||||
{
|
||||
title: "Selección Manual",
|
||||
description: "Calidad en cada uva.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-wine-bottle-sackcloth-with-copy-space-dark-wooden-horizontal_176474-4367.jpg",
|
||||
imageAlt: "Vendimia",
|
||||
},
|
||||
title: "Selección Manual", description: "Calidad en cada uva.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-wine-bottle-sackcloth-with-copy-space-dark-wooden-horizontal_176474-4367.jpg", imageAlt: "Vendimia"},
|
||||
]}
|
||||
title="Nuestro compromiso"
|
||||
description="La espera es parte del sabor."
|
||||
@@ -192,45 +137,21 @@ export default function LandingPage() {
|
||||
<ProductCardThree
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
gridVariant="bento-grid"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Barón d'Alba Reserva",
|
||||
price: "24€",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-romantic-arrangement-with-wine_23-2148243734.jpg",
|
||||
},
|
||||
id: "5", name: "Colección Privada", price: "60€", imageSrc: "http://img.b2bpic.net/free-photo/front-view-pomegranate-wine-dark-wall-drinks-fruit-alcohol-sour-color-bar-restaurant-wine_179666-17553.jpg", priceButtonProps: { text: "Añadir al carrito" }},
|
||||
{
|
||||
id: "2",
|
||||
name: "Barón d'Alba Crianza",
|
||||
price: "18€",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-delicious-green-grapes_23-2151566083.jpg",
|
||||
},
|
||||
id: "4", name: "Edición Limitada", price: "45€", imageSrc: "http://img.b2bpic.net/free-photo/front-view-glass-wine-with-bottle-light-background-alcohol-drink-bar-lemonade-dinner-photo-grape-juice-holiday_140725-160625.jpg", priceButtonProps: { text: "Añadir al carrito" }},
|
||||
{
|
||||
id: "3",
|
||||
name: "Barón d'Alba Blanco",
|
||||
price: "16€",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/ripe-grape-bunches-rustic-winery-table-generated-by-ai_188544-47619.jpg",
|
||||
},
|
||||
id: "1", name: "Barón d'Alba Reserva", price: "24€", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-romantic-arrangement-with-wine_23-2148243734.jpg", priceButtonProps: { text: "Añadir al carrito" }},
|
||||
{
|
||||
id: "4",
|
||||
name: "Edición Limitada",
|
||||
price: "45€",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-glass-wine-with-bottle-light-background-alcohol-drink-bar-lemonade-dinner-photo-grape-juice-holiday_140725-160625.jpg",
|
||||
},
|
||||
id: "2", name: "Barón d'Alba Crianza", price: "18€", imageSrc: "http://img.b2bpic.net/free-photo/view-delicious-green-grapes_23-2151566083.jpg", priceButtonProps: { text: "Añadir al carrito" }},
|
||||
{
|
||||
id: "5",
|
||||
name: "Colección Privada",
|
||||
price: "60€",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-pomegranate-wine-dark-wall-drinks-fruit-alcohol-sour-color-bar-restaurant-wine_179666-17553.jpg",
|
||||
},
|
||||
id: "3", name: "Barón d'Alba Blanco", price: "16€", imageSrc: "http://img.b2bpic.net/free-photo/ripe-grape-bunches-rustic-winery-table-generated-by-ai_188544-47619.jpg", priceButtonProps: { text: "Añadir al carrito" }},
|
||||
{
|
||||
id: "6",
|
||||
name: "Tinto Joven",
|
||||
price: "12€",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-new-year-party-arrangement_23-2149181115.jpg",
|
||||
},
|
||||
id: "6", name: "Tinto Joven", price: "12€", imageSrc: "http://img.b2bpic.net/free-photo/top-view-new-year-party-arrangement_23-2149181115.jpg", priceButtonProps: { text: "Añadir al carrito" }},
|
||||
]}
|
||||
title="Nuestra Selección"
|
||||
description="Botellas que cuentan historias."
|
||||
@@ -244,31 +165,16 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
value: "100",
|
||||
title: "Años de historia",
|
||||
items: [
|
||||
"Tradición familiar",
|
||||
"Legado",
|
||||
],
|
||||
id: "m1", value: "100", title: "Años de historia", items: [
|
||||
"Tradición familiar", "Legado"],
|
||||
},
|
||||
{
|
||||
id: "m2",
|
||||
value: "12",
|
||||
title: "Superficie de cultivo",
|
||||
items: [
|
||||
"Tierras fértiles",
|
||||
"Terroir",
|
||||
],
|
||||
id: "m2", value: "12", title: "Superficie de cultivo", items: [
|
||||
"Tierras fértiles", "Terroir"],
|
||||
},
|
||||
{
|
||||
id: "m3",
|
||||
value: "480",
|
||||
title: "Altitud sobre el nivel",
|
||||
items: [
|
||||
"Uva seleccionada",
|
||||
"Clima óptimo",
|
||||
],
|
||||
id: "m3", value: "480", title: "Altitud sobre el nivel", items: [
|
||||
"Uva seleccionada", "Clima óptimo"],
|
||||
},
|
||||
]}
|
||||
title="Nuestros Números"
|
||||
@@ -283,50 +189,20 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Juan García",
|
||||
handle: "@juang",
|
||||
testimonial: "Un vino con historia real.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/brick-wall-background-texture_1048-16944.jpg",
|
||||
imageAlt: "Brick wall background texture",
|
||||
},
|
||||
id: "1", name: "Juan García", handle: "@juang", testimonial: "Un vino con historia real.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/brick-wall-background-texture_1048-16944.jpg", imageAlt: "Brick wall background texture"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Ana López",
|
||||
handle: "@analp",
|
||||
testimonial: "El sabor de la paciencia.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cinematic-style-view-red-grapes-vineyard_23-2151570061.jpg?_wi=2",
|
||||
imageAlt: "Brick wall background texture",
|
||||
},
|
||||
id: "2", name: "Ana López", handle: "@analp", testimonial: "El sabor de la paciencia.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cinematic-style-view-red-grapes-vineyard_23-2151570061.jpg?_wi=2", imageAlt: "Brick wall background texture"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Carlos Ruiz",
|
||||
handle: "@carlosr",
|
||||
testimonial: "Castellón en una botella.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/stone-natural-room-interior-design_23-2151890391.jpg?_wi=2",
|
||||
imageAlt: "Brick wall background texture",
|
||||
},
|
||||
id: "3", name: "Carlos Ruiz", handle: "@carlosr", testimonial: "Castellón en una botella.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/stone-natural-room-interior-design_23-2151890391.jpg?_wi=2", imageAlt: "Brick wall background texture"},
|
||||
{
|
||||
id: "4",
|
||||
name: "Marta Soler",
|
||||
handle: "@msoler",
|
||||
testimonial: "Inolvidable experiencia en bodega.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bottles-wine-laid-wooden-table_23-2148243113.jpg?_wi=2",
|
||||
imageAlt: "Brick wall background texture",
|
||||
},
|
||||
id: "4", name: "Marta Soler", handle: "@msoler", testimonial: "Inolvidable experiencia en bodega.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bottles-wine-laid-wooden-table_23-2148243113.jpg?_wi=2", imageAlt: "Brick wall background texture"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Luis Ferrán",
|
||||
handle: "@lferran",
|
||||
testimonial: "Calidad artesana superior.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/liquor-bottle-with-candle-scarf-plant-pot_176474-6084.jpg?_wi=2",
|
||||
imageAlt: "Brick wall background texture",
|
||||
},
|
||||
id: "5", name: "Luis Ferrán", handle: "@lferran", testimonial: "Calidad artesana superior.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/liquor-bottle-with-candle-scarf-plant-pot_176474-6084.jpg?_wi=2", imageAlt: "Brick wall background texture"},
|
||||
]}
|
||||
showRating={true}
|
||||
title="Palabras sobre nosotros"
|
||||
@@ -338,10 +214,9 @@ export default function LandingPage() {
|
||||
<ContactSplit
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "gradient-bars",
|
||||
}}
|
||||
variant: "gradient-bars"}}
|
||||
tag="Visitas"
|
||||
title="Ven a conocer nuestra casa"
|
||||
title="Reserva Tu Experiencia en la Bodega"
|
||||
description="Jueves a domingo · 11:00 y 17:00 · 35€"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/vineyards-plantation_1398-5202.jpg"
|
||||
imageAlt="Bodega exterior"
|
||||
@@ -356,18 +231,14 @@ export default function LandingPage() {
|
||||
socialLinks={[
|
||||
{
|
||||
icon: Instagram,
|
||||
href: "#",
|
||||
ariaLabel: "Instagram",
|
||||
},
|
||||
href: "#", ariaLabel: "Instagram"},
|
||||
{
|
||||
icon: Facebook,
|
||||
href: "#",
|
||||
ariaLabel: "Facebook",
|
||||
},
|
||||
href: "#", ariaLabel: "Facebook"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user