diff --git a/frontend/src/components/Sponsors/Sponsors.jsx b/frontend/src/components/Sponsors/Sponsors.jsx index a14b7d7..c7e7bb6 100644 --- a/frontend/src/components/Sponsors/Sponsors.jsx +++ b/frontend/src/components/Sponsors/Sponsors.jsx @@ -21,7 +21,7 @@ const SponsorCard = ({ name, img }) => ( )} - + {name} @@ -29,19 +29,19 @@ const SponsorCard = ({ name, img }) => ( /* ---------------- 2. CATEGORY GROUP BOX ---------------- */ const CategoryGroup = ({ title, sponsors }) => ( -
+
{/* Category Title Badge */} -
-

+
+

{title}

- {/* Sponsor Grid Container - 2 Rows, Horizontal Flow */} -
-
+ {/* Sponsor Grid Container */} +
+
{sponsors.map((s, idx) => ( -
+
))} @@ -143,19 +143,19 @@ export default function Sponsors({ setLotusClass, setFigureClass, setFigureStyle if (setFigureStyle) { setFigureStyle({ left: "0px", bottom: "0px", transform: "translate(10%, 10%)" }); } - setFigureClass?.(`fixed w-[100px] md:w-[150px] lg:w-[180px] pointer-events-none z-[5] opacity-40 drop-shadow-[0_0_30px_rgba(255,215,138,0.3)] transition-all duration-700 ease-out`); - setLotusClass?.("fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[400px] opacity-10 z-0 pointer-events-none"); + setFigureClass?.(`fixed w-[80px] sm:w-[120px] md:w-[150px] lg:w-[180px] pointer-events-none z-[5] opacity-30 md:opacity-40 drop-shadow-[0_0_30px_rgba(255,215,138,0.3)] transition-all duration-700 ease-out`); + setLotusClass?.("fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[280px] sm:w-[400px] opacity-10 z-0 pointer-events-none"); }, [setLotusClass, setFigureClass, setFigureStyle]); return ( -
+
{/* Header Section - SHIFTED DOWN GENTLY */}
SPONSORS @@ -164,18 +164,28 @@ export default function Sponsors({ setLotusClass, setFigureClass, setFigureStyle initial={{ opacity: 0 }} animate={{ opacity: 1 }} transition={{ delay: 0.3 }} - className="mt-1 text-[#8B6508] font-black tracking-[0.05em] text-[8px] md:text-xs text-center drop-shadow-sm px-4" + className="mt-2 text-[#8B6508] font-black tracking-[0.05em] text-[9px] sm:text-[10px] md:text-sm text-center drop-shadow-sm px-4 max-w-2xl mx-auto" > Our valued partners who power Invictus by supporting innovation and excellence.
- {/* MAIN SPONSORS HORIZONTAL MARQUEE */} -
-
- {/* Hover to pause animation */} + {/* MAIN SPONSORS SECTION - STACK ON MOBILE, MARQUEE ON DESKTOP */} +
+ {/* Mobile View: Vertical Grid */} +
+ {sponsorCategories.map((category, index) => ( + + ))} +
+ + {/* Desktop View: Horizontal Marquee */} +
- {/* Render array twice to create a seamless looping effect */} {[...sponsorCategories, ...sponsorCategories].map((category, index) => ( -
-

+
+

PAST SPONSORS

@@ -199,12 +209,12 @@ export default function Sponsors({ setLotusClass, setFigureClass, setFigureStyle
{[...pastSponsors, ...pastSponsors, ...pastSponsors].map((s, i) => ( -
-
-
- {s.name} +
+
+
+ {s.name}
- {s.name} + {s.name}
))}