Newer section and modular view
Deploy NPM app / Deploy NPM (push) Successful in 1m14s

This commit is contained in:
Ichitux
2026-04-14 15:48:44 +02:00
parent 7a65e7a1f4
commit 823ca68119
7 changed files with 264 additions and 21 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import { useState, useEffect } from "react";
import { motion } from "framer-motion";
import { Button } from "@/components/ui/button";
import { useTranslation } from "react-i18next";
import { EVENT_INFO } from "@/data/event-data";
import { EVENT_INFO, SECTIONS } from "@/data/event-data";
import heroBg from "@/assets/hero-bg.jpg";
/** Calcula diferencia entre ahora y la fecha del evento */
@@ -116,7 +116,7 @@ const HeroSection = () => {
transition={{ delay: 1 }}
>
<Button variant="hero" size="lg" className="text-lg px-10 py-6" asChild>
<a href="#booking">{t('hero.bookYourPass')}</a>
<a href={SECTIONS.booking ? "#booking" : "#mixed-booking"}>{t('hero.bookYourPass')}</a>
</Button>
</motion.div>
</div>