Skip to content

Commit

Permalink
updated sponsour component background image
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami840 committed Aug 18, 2024
1 parent 8bc0610 commit 979e4e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/components/sponsor/SponsorSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import lyftLogo from '../../assets/Lyft-Logo.wine.png';
import asanaLogo from '../../assets/asana-logo.png';
import diversityLogo from '../../assets/diversity-it-logo.png';
import linkedinLogo from '../../assets/LinkedIn-Logo.png';
import background from '../../assets/bg-img5.png';

const sponsors = [
{ src: lyftLogo, alt: 'Lyft' },
Expand All @@ -22,7 +23,12 @@ const SponsorSection = () => {
}, []);

return (
<div className="w-full p-4 mt-4 rounded-lg shadow-lg bg-opacity-75 bg-cover bg-center" style={{ backgroundColor: 'rgba(255, 255, 255, 0.1)', backgroundImage: `url('/path/to/your/background/image')` }}>
<div className="w-full p-4 mt-4 rounded-lg shadow-lg bg-opacity-75 bg-cover bg-center"
style={{
backgroundColor: 'rgba(255, 255, 255, 0.1)',
backgroundImage: `url(${background})`,
}}
>
{/* Special Thanks Section */}
<h3 className="text-2xl font-bold text-center text-white mb-6">
Special Thanks to Our Sponsors!
Expand Down
1 change: 0 additions & 1 deletion src/constants/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const NAVIGATION_LINKS = [
{ label: "Hacks24", href: "#hacks24" },
{ label: "Highlights", href: "#highlights" },
// { label: "Projects", href: "#projects" },
// { label: "Community", href: "#community" },
];

export const HERO = {
Expand Down

0 comments on commit 979e4e6

Please sign in to comment.