Skip to content

Commit 5e81274

Browse files
committed
added silver sponsors and cleaned up file
1 parent a12aca0 commit 5e81274

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

frontend/src/components/Sponsors/sponsorlinks.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ function SponsorLinks() {
2626
{diamondLinks.map((item, index) => {
2727
return (
2828
<div key={index} className={`${logodiv}`}
29-
// href={item.href}
3029
onClick={() => {
3130
setInformation(item);
3231
setShowModal(true);
@@ -49,7 +48,6 @@ function SponsorLinks() {
4948
setInformation(item);
5049
setShowModal(true);
5150
}}
52-
// href={item.href}
5351
>
5452
<img className="h-6" src={item.svg} alt={item.alt} />
5553
</div>
@@ -63,9 +61,14 @@ function SponsorLinks() {
6361
<h2 className="text-4xl font-black">Silver Sponsors</h2>
6462
{silverLinks.map((item, index) => {
6563
return (
66-
<a key={index} className="h-14" href={item.href}>
64+
<div key={index} className="h-14"
65+
onClick={() => {
66+
setInformation(item);
67+
setShowModal(true);
68+
}}
69+
>
6770
<img className="h-8" src={item.svg} alt={item.alt} />
68-
</a>
71+
</div>
6972
);
7073
})}
7174
</div>

0 commit comments

Comments
 (0)