fix: artist images
This commit is contained in:
parent
dddae7e31e
commit
18a29d71ce
3 changed files with 8 additions and 8 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "19.9.4",
|
"version": "19.9.5",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "19.9.4",
|
"version": "19.9.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cdransf/api-text": "^1.4.0",
|
"@cdransf/api-text": "^1.4.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "19.9.4",
|
"version": "19.9.5",
|
||||||
"description": "The source for my personal site. Built using 11ty.",
|
"description": "The source for my personal site. Built using 11ty.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -21,16 +21,16 @@ schema: artist
|
||||||
<div class="artist-display">
|
<div class="artist-display">
|
||||||
<img
|
<img
|
||||||
srcset="
|
srcset="
|
||||||
https://cdn.coryd.dev{{ artist.image }}?w=200&aspect_ratio=1:1 200w,
|
https://cdn.coryd.dev{{ artist.image }}?class=w200 200w,
|
||||||
https://cdn.coryd.dev{{ artist.image }}?w=400&aspect_ratio=1:1 400w,
|
https://cdn.coryd.dev{{ artist.image }}?class=w600 400w,
|
||||||
https://cdn.coryd.dev{{ artist.image }}?w=800&aspect_ratio=1:1 800w,
|
https://cdn.coryd.dev{{ artist.image }}?class=w800 800w,
|
||||||
https://cdn.coryd.dev{{ artist.image }}?w=1200&aspect_ratio=1:1 1200w
|
https://cdn.coryd.dev{{ artist.image }}?class=w1200 1200w
|
||||||
"
|
"
|
||||||
sizes="(max-width: 450px) 200px,
|
sizes="(max-width: 450px) 200px,
|
||||||
(max-width: 850px) 400px,
|
(max-width: 850px) 400px,
|
||||||
(max-width: 1000px) 800px,
|
(max-width: 1000px) 800px,
|
||||||
1200px"
|
1200px"
|
||||||
src="https://cdn.coryd.dev{{ artist.image }}?w=1200&aspect_ratio=1:1"
|
src="https://cdn.coryd.dev{{ artist.image }}?class=w1200"
|
||||||
alt="{{ alt }}"
|
alt="{{ alt }}"
|
||||||
loading="eager"
|
loading="eager"
|
||||||
decoding="async"
|
decoding="async"
|
||||||
|
|
Reference in a new issue