Skip to content

Commit f4f2024

Browse files
committed
Merge branch 'beta'
2 parents fabf70d + 5beb4c3 commit f4f2024

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

components/Page/Sponsors.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ export const Sponsors: React.FunctionComponent<ISponsorsProps> = (props: React.P
7575
href={sponsor.url}
7676
title={sponsor.title}
7777
className="mt-6 col-span-1 flex justify-center">
78-
<img className={sponsor.class || "h-12"} src={sponsor.image} alt={sponsor.alt} />
78+
<img className={sponsor.height ? "" : "h-12"} style={{
79+
height: sponsor.height || undefined
80+
}} src={sponsor.image} alt={sponsor.alt} />
7981
</a>
8082
))
8183
}

sponsors.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"image": "/assets/sponsors/coderabbit-dark.svg",
2929
"id": "CodeRabbit",
3030
"alt": "CodeRabbit - AI Code Reviews",
31-
"class": "h-[35px]",
31+
"height": "35px",
3232
"active": true
3333
},
3434
{
@@ -61,7 +61,7 @@
6161
"image": "/struyf-consulting.webp",
6262
"id": "Struyf-Consulting",
6363
"alt": "Struyf Consulting",
64-
"class": "h-[25px]",
64+
"height": "25px",
6565
"active": true
6666
}
6767
]

0 commit comments

Comments
 (0)