linktree: next event links to single event page, button 'More info'

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Michilis
2026-02-12 03:25:09 +00:00
parent 6a807a7cc6
commit 74464b0a7a
3 changed files with 4 additions and 4 deletions

View File

@@ -80,7 +80,7 @@ export default function LinktreePage() {
<div className="animate-spin w-6 h-6 border-2 border-primary-yellow border-t-transparent rounded-full mx-auto" /> <div className="animate-spin w-6 h-6 border-2 border-primary-yellow border-t-transparent rounded-full mx-auto" />
</div> </div>
) : nextEvent ? ( ) : nextEvent ? (
<Link href={`/book/${nextEvent.id}`} className="block group"> <Link href={`/events/${nextEvent.id}`} className="block group">
<div className="bg-white/10 backdrop-blur-sm rounded-2xl p-5 border border-white/10 transition-all duration-300 hover:bg-white/15 hover:scale-[1.02] hover:shadow-xl"> <div className="bg-white/10 backdrop-blur-sm rounded-2xl p-5 border border-white/10 transition-all duration-300 hover:bg-white/15 hover:scale-[1.02] hover:shadow-xl">
<h3 className="font-bold text-lg text-white group-hover:text-primary-yellow transition-colors"> <h3 className="font-bold text-lg text-white group-hover:text-primary-yellow transition-colors">
{locale === 'es' && nextEvent.titleEs ? nextEvent.titleEs : nextEvent.title} {locale === 'es' && nextEvent.titleEs ? nextEvent.titleEs : nextEvent.title}
@@ -111,7 +111,7 @@ export default function LinktreePage() {
</div> </div>
<div className="mt-4 bg-primary-yellow text-primary-dark font-semibold py-3 px-4 rounded-xl text-center transition-all duration-200 group-hover:bg-yellow-400"> <div className="mt-4 bg-primary-yellow text-primary-dark font-semibold py-3 px-4 rounded-xl text-center transition-all duration-200 group-hover:bg-yellow-400">
{t('linktree.bookNow')} {t('linktree.moreInfo')}
</div> </div>
</div> </div>
</Link> </Link>

View File

@@ -317,7 +317,7 @@
"tagline": "Language Exchange Community", "tagline": "Language Exchange Community",
"nextEvent": "Next Event", "nextEvent": "Next Event",
"noEvents": "No upcoming events", "noEvents": "No upcoming events",
"bookNow": "Book Now", "moreInfo": "More info",
"joinCommunity": "Join Our Community", "joinCommunity": "Join Our Community",
"visitWebsite": "Visit Our Website", "visitWebsite": "Visit Our Website",
"whatsapp": { "whatsapp": {

View File

@@ -317,7 +317,7 @@
"tagline": "Comunidad de Intercambio de Idiomas", "tagline": "Comunidad de Intercambio de Idiomas",
"nextEvent": "Próximo Evento", "nextEvent": "Próximo Evento",
"noEvents": "No hay eventos próximos", "noEvents": "No hay eventos próximos",
"bookNow": "Reservar Ahora", "moreInfo": "Más información",
"joinCommunity": "Únete a Nuestra Comunidad", "joinCommunity": "Únete a Nuestra Comunidad",
"visitWebsite": "Visitar Nuestro Sitio", "visitWebsite": "Visitar Nuestro Sitio",
"whatsapp": { "whatsapp": {