chore: 11ty img

This commit is contained in:
Cory Dransfeldt 2024-06-06 14:55:19 -07:00
parent 2bcd6d3ee7
commit 73eb06739e
No known key found for this signature in database
23 changed files with 728 additions and 270 deletions

View file

@ -20,17 +20,7 @@ schema: artist
<article class="artist-focus">
<div class="artist-display">
<img
srcset="
https://coryd.dev/.netlify/images/?url={{ artist.image }}&fit=cover&w=200&h=200&fm=webp&q=40 200w,
https://coryd.dev/.netlify/images/?url={{ artist.image }}&fit=cover&w=400&h=400&fm=webp&q=40 400w,
https://coryd.dev/.netlify/images/?url={{ artist.image }}&fit=cover&w=800&h=800&fm=webp&q=40 800w,
https://coryd.dev/.netlify/images/?url={{ artist.image }}&fit=cover&w=1200&h=1200&fm=webp&q=40 1200w
"
sizes="(max-width: 450px) 200px,
(max-width: 850px) 400px,
(max-width: 1000px) 800px,
1200px"
src="https://coryd.dev/.netlify/images/?url={{ artist.image }}&fit=cover&w=1200&h=1200&fm=webp&q=40"
src="{{ artist.image }}"
alt="{{ alt }}"
loading="eager"
decoding="async"