set sponsor logo image sizes
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user