88 CarouselApi ,
99 CarouselContent ,
1010 CarouselItem ,
11+ CarouselNext ,
12+ CarouselPrevious ,
1113} from '@/components/ui/carousel' ;
1214import Image from 'next/image' ;
1315import Link from 'next/link' ;
@@ -78,14 +80,14 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
7880 } ;
7981
8082 return (
81- < div className = "xl:grid xl:grid-cols-2 lg:flex lg:flex-col lg:h-auto text-white gap-x-4 " >
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 " >
8284 { /* Description Section */ }
83- < div className = "space-y-16 xl:mb-28 lg:flex-1 lg:h-auto" >
84- < div className = "space-y-6 max-w-[365px] mx-auto xl:mx-0" >
85- < 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 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" >
8688 < span className = "text-white" > Our</ span > Sponsors
8789 </ h1 >
88- < p className = "text-xl text-left" >
90+ < p className = "text-xl text-left mb-12 " >
8991 A big thank you to our generous sponsors whose support makes our
9092 work possible and helps us create lasting impact.
9193 </ p >
@@ -106,14 +108,14 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
106108 </ div >
107109 </ div >
108110
109- < div className = "pb-36 mb-36 " >
111+ < div className = "pb-36 w-[720px] " >
110112 { /* Featured Section */ }
111113 { featuredSponsor && (
112114 < div className = "flex-1 h-3/4 mb-4" >
113115 < Link
114116 href = { featuredSponsor . url }
115117 target = "_blank"
116- className = "border border-[#36FF90 ] rounded-lg xl:px-6 xl:py-4 lg:p-6 w-full h-full flex flex-col justify-center items-center"
118+ className = "border border-[#ffffff ] rounded-lg xl:px-10 xl:py-4 lg:p-6 w-full h-full flex flex-col justify-center items-center"
117119 >
118120 < div className = "w-full h-[200px] relative flex justify-center items-center transition-transform duration-500 ease-in-out hover:scale-105" >
119121 < Image
@@ -134,7 +136,28 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
134136 ) }
135137 />
136138 </ div >
137- < p className = "text-xl mt-6" >
139+ < div className = "h-[50px] w-[480px] flex items-center" >
140+ { /* Icon */ }
141+ < div className = "mr-2" >
142+ < svg
143+ xmlns = "http://www.w3.org/2000/svg"
144+ width = "24"
145+ height = "24"
146+ viewBox = "0 0 24 20"
147+ fill = "white"
148+ stroke = "#ffffff"
149+ strokeLinecap = "round"
150+ strokeLinejoin = "round"
151+ className = "lucide lucide-quote-icon lucide-quote text-[#ffffff] transform rotate-180 w-6 h-6"
152+ >
153+ < path d = "M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z" />
154+ < path d = "M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z" />
155+ </ svg >
156+ </ div >
157+ { /* Horizontal Line */ }
158+ < div className = "w-[440px] h-[1.5px] bg-[#FFFFFF]" > </ div >
159+ </ div >
160+ < p className = "text-xl mt-4" >
138161 { featuredSponsor . testimonial }
139162 < br > </ br >
140163 < br > </ br > — { featuredSponsor . name }
@@ -144,7 +167,8 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
144167 ) }
145168
146169 { /* Carousel Section */ }
147- < div className = "flex-1 h-auto flex" >
170+ < div className = "flex-1 h-auto flex relative" >
171+ { /*Carousel Body*/ }
148172 < Carousel
149173 className = "w-full flex h-full"
150174 setApi = { setApi }
@@ -153,6 +177,11 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
153177 loop : true ,
154178 } }
155179 >
180+
181+ { /* Previous Button */ }
182+ < CarouselPrevious className = "absolute left-[-64px] z-10 h-16 w-16 sm:w-20 sm:h-20" />
183+
184+ { /* Carousel Content */ }
156185 < CarouselContent >
157186 { sponsors . map ( ( sponsor , index ) => (
158187 < CarouselItem key = { index } className = "basis-1/3" >
@@ -165,7 +194,7 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
165194 { /* Gradient Overlay */ }
166195 < div className = "absolute inset-0 bg-gradient-to-t from-[#00833A] to-[rgba(62,179,114,0)] opacity-0 transition-opacity duration-500 rounded-lg group-hover:opacity-100" > </ div >
167196
168- < div className = "border border-[#36FF90 ] rounded-lg xl:px-6 xl:py-4 lg:p-6 w-full h-full flex justify-center items-center" >
197+ < div className = "border border-[#ffffff ] rounded-lg xl:px-6 xl:py-4 lg:p-6 w-full h-full flex justify-center items-center" >
169198 { /* Logo Container */ }
170199 < div className = "min-h-[160px] min-w-[160px] relative flex justify-center items-center transition-transform duration-500 ease-in-out hover:scale-105" >
171200 < div className = "" >
@@ -189,6 +218,9 @@ const SponsorsDesktop = ({ sponsors }: { sponsors: SponsorshipProps[] }) => {
189218 </ CarouselItem >
190219 ) ) }
191220 </ CarouselContent >
221+
222+ { /* Next Button */ }
223+ < CarouselNext className = "absolute right-[-64px] z-10 h-16 w-16 sm:w-20 sm:h-20" />
192224 </ Carousel >
193225 </ div >
194226 { /* Dots Navigation */ }
0 commit comments