Skip to content

Commit 021ac53

Browse files
committed
sponsor image fix
1 parent 1160e41 commit 021ac53

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

src/components/LandingPage/ThanksSponsors.tsx

+15-13
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,26 @@ export default async function ThankSponsors() {
4848
key={index}
4949
>
5050
<div className="group flex flex-col items-center justify-center gap-3">
51-
<div className="relative duration-300 group-hover:-translate-y-1 group-hover:shadow-2xl group-hover:transition-transform ">
51+
<div className="relative ">
5252
<Link
5353
href={sponsor.fields.sponsorPage}
5454
target="_blank"
5555
rel="noopener noreferrer"
5656
>
57-
<Image
58-
src={
59-
sponsor.fields.sponsorImg.fields.file?.url
60-
?.toString()
61-
.replace("//", "https://") ?? ""
62-
}
63-
alt="Sponsor Image"
64-
layout="intrinsic"
65-
objectFit="contain"
66-
width={150}
67-
height={150}
68-
/>
57+
<div className="flex size-[150px] items-center justify-center overflow-hidden rounded-full duration-300 group-hover:-translate-y-1 group-hover:shadow-2xl group-hover:transition-transform">
58+
<Image
59+
src={
60+
sponsor.fields.sponsorImg.fields.file?.url
61+
?.toString()
62+
.replace("//", "https://") ?? ""
63+
}
64+
alt="Sponsor Image"
65+
layout="intrinsic"
66+
className="scale-75"
67+
width={150}
68+
height={150}
69+
/>
70+
</div>
6971
</Link>
7072
</div>
7173
<p className="text-center opacity-0 transition-all duration-300 group-hover:opacity-100">

0 commit comments

Comments
 (0)