@@ -64,6 +64,7 @@ const sponsors = [
6464 { name : 'La Frontera Casa Cafe' , image : laFronteraCaseCafe } ,
6565 { name : 'Vauxoo' , image : vauxoo } ,
6666 { name : 'Ruby Central' , image : rubyCentral } ,
67+ { name : 'Community Supporters' , image : '/community_supporters.svg' } ,
6768]
6869
6970const benefitIcons = [ Clock3 , Share2 , Presentation , Megaphone ]
@@ -178,7 +179,7 @@ const Sponsorship = (): ReactElement => {
178179 </ div >
179180 < div className = "rounded-2xl border border-black/8 bg-sky-50 px-4 py-4" >
180181 < div className = "text-xs font-semibold uppercase tracking-widest text-sky-700" > { t ( 'sponsorship.ourSponsors' ) } </ div >
181- < div className = "mt-2 text-3xl font-bold text-brand" > 3 </ div >
182+ < div className = "mt-2 text-3xl font-bold text-brand" > { sponsors . length } </ div >
182183 </ div >
183184 < div className = "rounded-2xl border border-black/8 bg-emerald-50 px-4 py-4" >
184185 < div className = "text-xs font-semibold uppercase tracking-widest text-emerald-700" > { t ( 'sponsorship.ourPatreons' ) } </ div >
@@ -273,10 +274,13 @@ const Sponsorship = (): ReactElement => {
273274 < p className = "inline-flex items-center gap-2 rounded-full border border-yellow-300/40 bg-yellow-300/10 px-3 py-1.5 text-[0.82rem] font-bold uppercase tracking-[0.08em] text-sky-600" > { t ( 'sponsorship.ourSponsors' ) } </ p >
274275 </ div >
275276 </ div >
276- < div className = "grid gap-4 md:grid-cols-3 " >
277+ < div className = "flex w-full flex-wrap justify-center gap-4 " >
277278 { sponsors . map ( ( sponsor ) => (
278- < div key = { sponsor . name } className = "flex min-h-36 items-center justify-center rounded-3xl border border-black/8 bg-white/78 p-6 shadow-sm" >
279- < img src = { sponsor . image } alt = { sponsor . name } className = "max-h-20 w-full object-contain" />
279+ < div
280+ key = { sponsor . name }
281+ className = "flex min-h-36 w-full shrink-0 items-center justify-center rounded-3xl border border-black/8 bg-white/78 p-2 shadow-sm sm:w-[calc((100%-1rem)/2)] md:w-[calc((100%-2rem)/3)]"
282+ >
283+ < img src = { sponsor . image } alt = { sponsor . name } className = "max-h-24 w-full object-contain" />
280284 </ div >
281285 ) ) }
282286 </ div >
0 commit comments