@@ -66,20 +66,29 @@ const SponsorsSection = () => {
6666 return (
6767 < section className = "bg-white py-10 relative overflow-hidden" >
6868 < div className = "max-w-6xl mx-auto px-4 sm:px-6 lg:pl-0" >
69- < div >
70- < h2 className = "text-3xl sm:text-4xl font-bold text-slate-900 mb-4 " >
69+ < div className = "mb-8" >
70+ < h2 className = "text-3xl sm:text-4xl font-bold text-slate-900 mb-2 " >
7171 Our Sponsors and Partners
7272 </ h2 >
73- < p className = "text-gray-700 text-lg mb-8 " >
73+ < p className = "text-gray-700 text-lg" >
7474 We are proudly supported by our amazing sponsors and partners.
7575 </ p >
7676 </ div >
7777
7878 < div
79- className = "relative overflow-hidden "
79+ className = "relative"
8080 onMouseEnter = { ( ) => setIsHovered ( true ) }
8181 onMouseLeave = { ( ) => setIsHovered ( false ) }
8282 >
83+ { /* Left Arrow */ }
84+ < button
85+ onClick = { ( ) => handleManualScroll ( "left" ) }
86+ className = "absolute left-0 sm:left-0 top-1/2 -translate-y-1/2 sm:-translate-x-3 bg-[#00163A] rounded-full p-2 sm:p-2.5 shadow z-10 cursor-pointer hover:bg-[#2563eb]"
87+ >
88+ < ArrowLeft className = "w-5 h-5 sm:w-6 sm:h-6 text-white" />
89+ </ button >
90+
91+ { /* Sponsor Scroll Area */ }
8392 < div
8493 ref = { scrollRef }
8594 className = "flex overflow-x-auto scroll-smooth hide-scrollbar"
@@ -93,31 +102,23 @@ const SponsorsSection = () => {
93102 className = "flex-shrink-0 px-2 box-border"
94103 style = { { width : `${ 100 / visibleCount } %` } }
95104 >
96- < div className = "h-64 bg-white flex items-center justify-center rounded transition duration-300 transform hover:shadow-xl cursor-pointer border-2" >
105+ < div className = "h-64 bg-white flex items-center justify-center rounded-xl transition duration-300 transform hover:shadow-xl cursor-pointer border-2" >
97106 < img
98107 src = { sponsor . image }
99108 alt = { sponsor . name }
100- className = "object-contain h-32"
109+ className = "object-contain h-32 "
101110 />
102111 </ div >
103112 </ a >
104113 ) ) }
105114 </ div >
106115
107- < div className = "flex justify-center space-x-4 mt-6" >
108- < button
109- onClick = { ( ) => handleManualScroll ( "left" ) }
110- className = "carousel-arrow-btn absolute left-2 top-1/2 -translate-y-1/2 z-10"
111- >
112- < ArrowLeft />
113- </ button >
114- < button
115- onClick = { ( ) => handleManualScroll ( "right" ) }
116- className = "carousel-arrow-btn absolute right-2 top-1/2 -translate-y-1/2 z-10"
117- >
118- < ArrowRight />
119- </ button >
120- </ div >
116+ < button
117+ onClick = { ( ) => handleManualScroll ( "right" ) }
118+ className = "absolute right-0 sm:right-0 top-1/2 -translate-y-1/2 sm:translate-x-3 bg-[#00163A] cursor-pointer rounded-full p-2 sm:p-2.5 shadow z-10 hover:bg-[#2563eb]"
119+ >
120+ < ArrowRight className = "w-5 h-5 sm:w-6 sm:h-6 text-white" />
121+ </ button >
121122 </ div >
122123 </ div >
123124 </ section >
0 commit comments