@@ -3,11 +3,10 @@ import Image from "next/image";
33import CountdownTimer from "@/components/CountdownTimer" ;
44import ChileMap from "@/components/ChileMap" ;
55import TalkCard from "@/components/TalkCard" ;
6- import RegistrationForm from "@/components/RegistrationForm" ;
76import HeroSection from "@/components/HeroSection" ;
87import SponsorList from "./sponsors/components/SponsorList" ;
98import featuredTalks from "@/data/featuredTalks" ;
10- import { FeatureGuard } from "@/components/FeatureManagement/FeatureGuard " ;
9+ import allTalks from "@/data/talks " ;
1110import RegistrationState from "@/components/RegistrationState" ;
1211import EmptyState from "@/components/EmptyState" ;
1312import cityData from "@/data/cities" ;
@@ -49,28 +48,38 @@ export default function Home() {
4948 { /* Agenda / Charlas Section */ }
5049 < section className = "container-py" >
5150 < h2 className = "section-title" > Charlas Destacadas</ h2 >
51+
5252 { featuredTalks && featuredTalks . length > 0 ? (
53- < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-2 gap-6 mt-8 max-w-5xl mx-auto" >
54- { featuredTalks . map ( ( talk , index ) => (
55- < TalkCard key = { index } talk = { talk } />
56- ) ) }
57- </ div >
58- ) : (
59- < EmptyState context = "global" />
60- ) }
61- { featuredTalks && featuredTalks . length > 0 && (
62- < div className = "flex justify-center mt-8" >
53+ < >
54+ < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-2 gap-6 mt-8 max-w-5xl mx-auto" >
55+ { featuredTalks . map ( ( talk , index ) => (
56+ < TalkCard key = { index } talk = { talk } />
57+ ) ) }
58+ </ div >
59+ < div className = "flex justify-center mt-8" >
60+ < Link href = "/talks" className = "btn-primary" >
61+ Ver todas las charlas
62+ </ Link >
63+ </ div >
64+ </ >
65+ ) : allTalks && allTalks . length > 0 ? (
66+ < div className = "text-center mt-8 max-w-xl mx-auto" >
67+ < p className = "mb-4 text-lg font-semibold" >
68+ Ya puedes revisar la agenda del evento PyDay 2025
69+ </ p >
6370 < Link href = "/talks" className = "btn-primary" >
64- Ver todas las charlas
71+ Ver agenda completa
6572 </ Link >
6673 </ div >
74+ ) : (
75+ < EmptyState context = "global" />
6776 ) }
6877 </ section >
6978
7079 { /* Registro Section */ }
7180 < section className = "container-py" >
72- < h2 className = "section-title" > Registro PyDay 2025</ h2 >
73- < RegistrationState context = "global" />
81+ < h2 className = "section-title" > Registro PyDay 2025</ h2 >
82+ < RegistrationState context = "global" />
7483 </ section >
7584
7685 { /* Acerca de PyDay */ }
@@ -93,63 +102,12 @@ export default function Home() {
93102 </ div >
94103 </ section >
95104
96- { /* Patrocinadores Section - Versión Simplificada */ }
105+ { /* Patrocinadores Section */ }
97106 < section id = "patrocinadores" className = "container-py" >
98- < h2
99- className = "section-title font-bold
100- tracking-wider text-4xl mb-0"
101- >
107+ < h2 className = "section-title font-bold tracking-wider text-4xl mb-0" >
102108 Nuestros Patrocinadores
103109 </ h2 >
104- { /* FIXME: Escoger formato de Patrocinadores */ }
105110 < SponsorList />
106- { /* Patrocinadores Premium */ }
107- { /* <div className="mt-8">
108- <h3 className="text-2xl font-bold text-center mb-6 text-yellow-400">
109- Patrocinadores Premium
110- </h3>
111- <div className="flex justify-center">
112- <Link>
113- href="https://www.python.org/psf-landing/"
114- target="_blank"
115- rel="noopener noreferrer"
116- className="bg-white/10 backdrop-blur p-6 rounded-lg hover:bg-white/20 transition-all duration-300 flex items-center justify-center"
117- >
118- <div className="relative h-32 w-64">
119- <Image
120- src="/images/logos/logos/psf-logo.webp"
121- alt="Python Software Foundation"
122- fill
123- className="object-contain"
124- />
125- </div>
126- </Link>
127- </div>
128- </div> */ }
129-
130- { /* Patrocinadores Básico */ }
131- { /* <div className="mt-12">
132- <h3 className="text-2xl font-bold text-center mb-6 text-gray-300">
133- Patrocinadores Básico
134- </h3>
135- <div className="flex justify-center">
136- <Link>
137- href="https://aws.amazon.com/es/"
138- target="_blank"
139- rel="noopener noreferrer"
140- className="bg-white/10 backdrop-blur p-6 rounded-lg hover:bg-white/20 transition-all duration-300 flex items-center justify-center"
141- >
142- <div className="relative h-24 w-48">
143- <Image
144- src="/images/logos/logos/aws.webp"
145- alt="Amazon Web Services"
146- fill
147- className="object-contain"
148- />
149- </div>
150- </Link>
151- </div>
152- </div> */ }
153111
154112 { /* CTA para patrocinadores */ }
155113 < div className = "mt-16 max-w-3xl mx-auto text-center" >
@@ -174,3 +132,4 @@ export default function Home() {
174132 </ >
175133 ) ;
176134}
135+
0 commit comments