tweak event item image sizes to fix low image quality on mobile
This commit is contained in:
@ -11,7 +11,6 @@ import {
|
|||||||
import {
|
import {
|
||||||
formatDate,
|
formatDate,
|
||||||
formatDateRange,
|
formatDateRange,
|
||||||
formatExtendedDateTime,
|
|
||||||
groupConsecutiveDates,
|
groupConsecutiveDates,
|
||||||
} from "@/lib/date";
|
} from "@/lib/date";
|
||||||
|
|
||||||
@ -47,7 +46,7 @@ export const EventItem = ({
|
|||||||
alt={featuredImage.alt}
|
alt={featuredImage.alt}
|
||||||
width={0}
|
width={0}
|
||||||
height={0}
|
height={0}
|
||||||
sizes="20vw"
|
sizes="(max-width: 900px) 100vw, 25vw"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user