@@ -80,14 +80,14 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
8080 } ;
8181
8282 return (
83- < div className = "xl:grid xl:grid-cols-[1fr_2fr] lg :flex lg :flex-col lg :h-auto text-white gap-x-8 py-16" >
83+ < div className = "xl:grid xl:grid-cols-[1fr_2fr] md :flex md :flex-col md :h-auto text-white gap-x-8 py-16 items-center " >
8484 { /* Description Section */ }
85- < div className = "space-y-16 xl:mb-28 lg:flex-1 lg:h-auto w-[480px] mt-24 " >
86- < div className = "space-y-9 max-w-[365px] mx-auto xl:mx-0" >
87- < h1 className = "text-primary text-[80px] leading-none font-bold mt-12 mb-12" >
85+ < div className = "space-y-16 xl:mb-28 lg:flex-1 lg:h-auto md:flex-1 md:h-auto w-[480px]" >
86+ < div className = "space-y-9 xl:mx-0" >
87+ < h1 className = "text-primary text-[80px] leading-none font-bold mb-12" >
8888 < span className = "text-white" > Our</ span > Sponsors
8989 </ h1 >
90- < p className = "text-xl text-left mb-12" >
90+ < p className = "text-xl text-left mb-12 min-w-10 " >
9191 A big thank you to our generous sponsors whose support makes our
9292 work possible and helps us create lasting impact.
9393 </ p >
@@ -108,10 +108,10 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
108108 </ div >
109109 </ div >
110110
111- < div className = "pb-36 w-[720px] " >
111+ < div className = "pb-36 w-[633px] xl:ml-16 " >
112112 { /* Featured Section */ }
113113 { featuredSponsor && (
114- < div className = "flex-1 h-3/4 mb-4" >
114+ < div className = "flex-1 h-[418px] mb-4" >
115115 < Link
116116 href = { featuredSponsor . url }
117117 target = "_blank"
@@ -125,9 +125,7 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
125125 fill
126126 className = { cn (
127127 'object-contain' ,
128- featuredSponsor . name === 'Ingenuity Software' ||
129- featuredSponsor . name === 'PythonPH' ||
130- featuredSponsor . name === 'Stace'
128+ featuredSponsor . name === 'PythonPH'
131129 ? 'scale-150' // Increase the size for specific sponsors
132130 : '' ,
133131 'w-full' ,
@@ -157,7 +155,7 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
157155 { /* Horizontal Line */ }
158156 < div className = "w-[440px] h-[1.5px] bg-[#FFFFFF]" > </ div >
159157 </ div >
160- < p className = "text-xl mt-4" >
158+ < p className = "lg: text-xl mt-4 text-[12px] max-md:m-5 " >
161159 { featuredSponsor . testimonial }
162160 < br > </ br >
163161 < br > </ br > — { featuredSponsor . name }
@@ -188,7 +186,7 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
188186 < CarouselItem key = { index } className = "basis-1/3" >
189187 < div
190188 key = { index }
191- className = "relative group transition-all duration-500 col-span-3 row-span-4 ease-in-out
189+ className = "relative group transition-all duration-500 col-span-3 row-span-4 ease-in-out h-[166px] w-[200px]
192190 "
193191 onClick = { ( ) => carouselFeaturedAnimation ( sponsor , index ) }
194192 >
@@ -200,16 +198,17 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
200198 < div className = "min-h-[160px] min-w-[160px] relative flex justify-center items-center transition-transform duration-500 ease-in-out hover:scale-105" >
201199 < div className = "" >
202200 < Image
203- src = { sponsor . logo }
201+ src = { sponsor . logoMobile }
204202 alt = { sponsor . name }
205203 loading = "lazy"
206204 fill
207205 className = { cn (
208206 'object-contain' ,
207+ sponsor . name === 'PythonPH'
208+ ? 'scale-75'
209+ : 'scale-100' ,
209210 'w-full' ,
210- 'h-full' ,
211- 'md:scale-[0.80]' ,
212- 'lg:scale-100'
211+ 'h-full'
213212 ) }
214213 />
215214 </ div >
0 commit comments