{t('home.about.title')}
++ {t('home.about.description')} +
++ {t('home.about.feature1')} +
++ {t('home.about.feature1Desc')} +
++ {t('home.about.feature2')} +
++ {t('home.about.feature2Desc')} +
++ {t('home.about.feature3')} +
++ {t('home.about.feature3Desc')} +
++ {t('home.hero.title')} +
++ {t('home.hero.subtitle')} +
++ {t('home.newsletter.title')} +
++ {t('home.newsletter.description')} +
+{t('home.nextEvent.noEvents')}
+{t('home.nextEvent.stayTuned')}
++ {locale === 'es' && nextEvent.titleEs ? nextEvent.titleEs : nextEvent.title} +
++ {locale === 'es' && nextEvent.descriptionEs + ? nextEvent.descriptionEs + : nextEvent.description} +
+ ++ {nextEvent.availableSeats} {t('events.details.spotsLeft')} +
++ {t('home.nextEvent.title')} +
+{t('contact.info.email')}
{emailLink.handle} @@ -129,7 +129,7 @@ export default function ContactPage() { href={link.url} target="_blank" rel="noopener noreferrer" - className="flex items-center gap-3 text-secondary-blue hover:text-primary-dark transition-colors group" + className="flex items-center gap-3 text-brand-navy hover:text-primary-dark transition-colors group" > {socialIcons[link.type]} diff --git a/frontend/src/app/(public)/events/[id]/EventDetailClient.tsx b/frontend/src/app/(public)/events/[id]/EventDetailClient.tsx index 00ade58..8bb41a8 100644 --- a/frontend/src/app/(public)/events/[id]/EventDetailClient.tsx +++ b/frontend/src/app/(public)/events/[id]/EventDetailClient.tsx @@ -2,6 +2,7 @@ import { useState, useEffect } from 'react'; import Link from 'next/link'; +import Image from 'next/image'; import { useLanguage } from '@/context/LanguageContext'; import { eventsApi, Event } from '@/lib/api'; import Card from '@/components/ui/Card'; @@ -22,6 +23,12 @@ interface EventDetailClientProps { export default function EventDetailClient({ eventId, initialEvent }: EventDetailClientProps) { const { t, locale } = useLanguage(); const [event, setEvent] = useState
+
{locale === 'es' && event.titleEs ? event.titleEs : event.title}
{isCancelled && (
@@ -98,7 +112,7 @@ export default function EventDetailClient({ eventId, initialEvent }: EventDetail
{t('events.details.date')}
- {formatDate(event.startDatetime)}
+ {formatDate(event.startDatetime)}
{t('events.details.date')}
-{formatDate(event.startDatetime)}
+{formatDate(event.startDatetime)}
{t('events.details.time')}
-{formatTime(event.startDatetime)}
+{formatTime(event.startDatetime)}
About this event
-+
{locale === 'es' && event.descriptionEs ? event.descriptionEs : event.description} @@ -149,7 +163,7 @@ export default function EventDetailClient({ eventId, initialEvent }: EventDetail
- {t('home.hero.title')} -
-- {t('home.hero.subtitle')} -
-- {t('home.nextEvent.title')} -
- -- {locale === 'es' && nextEvent.titleEs ? nextEvent.titleEs : nextEvent.title} -
-- {locale === 'es' && nextEvent.descriptionEs - ? nextEvent.descriptionEs - : nextEvent.description} -
- -- {nextEvent.availableSeats} {t('events.details.spotsLeft')} -
-{t('home.nextEvent.noEvents')}
-{t('home.nextEvent.stayTuned')}
-{t('home.about.title')}
-- {t('home.about.description')} -
-- {t('home.about.feature1')} -
-- {t('home.about.feature1Desc')} -
-- {t('home.about.feature2')} -
-- {t('home.about.feature2Desc')} -
-- {t('home.about.feature3')} -
-- {t('home.about.feature3Desc')} -
-- {t('home.newsletter.title')} -
-- {t('home.newsletter.description')} -
- - -{t('footer.tagline')} diff --git a/frontend/src/components/layout/Header.tsx b/frontend/src/components/layout/Header.tsx index 5c92516..d550916 100644 --- a/frontend/src/components/layout/Header.tsx +++ b/frontend/src/components/layout/Header.tsx @@ -1,6 +1,7 @@ 'use client'; import Link from 'next/link'; +import Image from 'next/image'; import { useState } from 'react'; import { useLanguage } from '@/context/LanguageContext'; import { useAuth } from '@/context/AuthContext'; @@ -26,10 +27,15 @@ export default function Header() {