set sponsor logo image sizes

This commit is contained in:
2025-08-08 14:40:16 +02:00
parent 8444bd018e
commit ed3388e2bf
2 changed files with 2 additions and 3 deletions

View File

@@ -49,7 +49,6 @@ function capitalizeFirstLetter(s: string) {
}
function linkTo(page: any): string | null {
console.log(page)
if (page.__typename === "EventPage") {
return `/arrangementer/${page.slug}`;
}

View File

@@ -13,8 +13,8 @@ const SponsorItem = ({ sponsor }: { sponsor: SponsorBlock }) => {
<Image
src={logo.url}
alt={`Logoen til ${name}`}
width={0}
height={0}
width={logo.width}
height={logo.height}
sizes="20vw"
/>
</div>