Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/Sponsor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}, 5000);

return () => clearInterval(autoPlay);
}, [isPaused, itemsToShow]);

Check warning on line 65 in src/components/Sponsor.jsx

View workflow job for this annotation

GitHub Actions / ESLint Check

React Hook useEffect has a missing dependency: 'goToNext'. Either include it or remove the dependency array

const handleMouseEnter = () => setIsPaused(true);
const handleMouseLeave = () => setIsPaused(false);
Expand All @@ -82,13 +82,13 @@
return (
<section className="bg-white py-10">
<div className="max-w-6xl mx-auto px-4 sm:px-6">
{/* CENTERED TITLE SECTION */}
<div className="mb-8" style={{ textAlign: "center" }}>
<h2 className="text-3xl sm:text-4xl font-bold text-slate-900 mb-2">
Our Sponsors and Partners
</h2>
<p className="text-gray-700 text-lg">
We are proudly supported by our amazing sponsors and partners.
Proudly powered by the support of our incredible sponsors and
partners through the years.
</p>
</div>

Expand Down
6 changes: 6 additions & 0 deletions src/config/sponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ const sponsors = [
"https://res.cloudinary.com/dm406z4pf/image/upload/v1754590497/Sponsor_6_bqcx5l.jpg",
link: "https://www.sail.co.in/",
},
{
name: "Track and Trail",
image:
"https://res.cloudinary.com/dm406z4pf/image/upload/v1755961510/idoNSj_At0_1755961363237_flnwh6.jpg",
link: "https://trackandtrail.in/",
},
];

export default sponsors;