tweak event item image sizes to fix low image quality on mobile

This commit is contained in:
2024-08-12 01:04:48 +02:00
parent c2e471350e
commit 4ab098728f

View File

@ -11,7 +11,6 @@ import {
import {
formatDate,
formatDateRange,
formatExtendedDateTime,
groupConsecutiveDates,
} from "@/lib/date";
@ -47,7 +46,7 @@ export const EventItem = ({
alt={featuredImage.alt}
width={0}
height={0}
sizes="20vw"
sizes="(max-width: 900px) 100vw, 25vw"
/>
)}
</div>