diff --git a/src/components/FloatingButton.tsx b/src/components/FloatingButton.tsx index 0dbdd8f..d3e1705 100644 --- a/src/components/FloatingButton.tsx +++ b/src/components/FloatingButton.tsx @@ -16,6 +16,8 @@ const FloatingButton = () => { return () => window.removeEventListener("scroll", onScroll); }, []); + const bookingEnabled = SECTIONS.booking || SECTIONS.mixed_booking; + return ( {visible && ( @@ -25,6 +27,7 @@ const FloatingButton = () => { exit={{ opacity: 0, y: 20 }} className="fixed bottom-6 right-6 z-50 flex flex-col gap-2" > + {bookingEnabled && ( + )} + diff --git a/src/data/event-data.ts b/src/data/event-data.ts index fcac96c..e3c3020 100644 --- a/src/data/event-data.ts +++ b/src/data/event-data.ts @@ -506,9 +506,9 @@ export const SECTIONS = { org: true, staff: true, profesores: true, - schedule: true, + schedule: false, booking: false, - mixed_booking: true, + mixed_booking: false, hotel: false, practical: true, gallery: true, diff --git a/src/locales/en.json b/src/locales/en.json index cc55a8b..f761abb 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -22,6 +22,8 @@ "seconds": "Sec", "eventInProgress": "EVENT IN PROGRESS", "dontMiss": "Don't miss it!", + "eventFinished": "Event finished", + "thankYou": "Thank you for participating, until next year!", "bookYourPass": "Book Your Pass", "viewSchedule": "View Schedule" }, diff --git a/src/locales/es.json b/src/locales/es.json index 40107e4..e7e71b8 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -22,6 +22,8 @@ "seconds": "Seg", "eventInProgress": "EVENTO EN CURSO", "dontMiss": "¡No te lo pierdas!", + "eventFinished": "Evento finalizado", + "thankYou": "¡Gracias por participar, hasta el año que viene!", "bookYourPass": "Reservar tu pase", "viewSchedule": "Ver Programa" },