tweak more image sizes
This commit is contained in:
@ -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}
|
||||
/>
|
||||
)}
|
||||
|
@ -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}
|
||||
/>
|
||||
)}
|
||||
|
@ -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>
|
||||
)}
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user