tweak more image sizes

This commit is contained in:
2024-08-15 01:54:48 +02:00
parent 5976d51dda
commit f566c4b639
4 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ export const AssociationHeader = ({
alt={`Logoen til ${association.title}`}
width={association.logo.width}
height={association.logo.height}
sizes="100vw"
sizes="40vw"
className={styles.logo}
/>
)}

View File

@ -35,7 +35,7 @@ export const ContactEntityBlock = ({
alt={contact.image.alt ?? ""}
width={contact.image.width}
height={contact.image.height}
sizes="10vw"
sizes="25vw"
className={styles.portrait}
/>
)}

View File

@ -38,7 +38,7 @@ export const FeaturedBlock = ({
alt={image.alt ?? ""}
width={image.width}
height={image.height}
sizes="20vw"
sizes="(max-width: 800px) 100vw, 50vw"
/>
</div>
)}

View File

@ -26,7 +26,7 @@ export const VenueItem = ({ venue }: { venue: VenueFragment }) => {
alt={featuredImage.alt}
width={0}
height={0}
sizes="20vw"
sizes="(max-width: 600px) 100vw, (max-width: 900xpx) 50vw, 35vw"
/>
)}
</div>