fix: aspect ratio

This commit is contained in:
Cory Dransfeldt 2024-06-27 13:04:22 -07:00
parent 742d7c111f
commit 427b51bc18
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.6.12", "version": "19.6.13",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.6.12", "version": "19.6.13",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.4.0", "@cdransf/api-text": "^1.4.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "19.6.12", "version": "19.6.13",
"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": {

View file

@ -19,6 +19,7 @@ image: https://cdn.coryd.dev/assets/404.jpg
src="https://cdn.coryd.dev/assets/404.jpg?aspect_ratio=1:.5625&width=2048" src="https://cdn.coryd.dev/assets/404.jpg?aspect_ratio=1:.5625&width=2048"
alt="{{ alt }}" alt="{{ alt }}"
class="image-banner" class="image-banner"
style="aspect-ratio:1/0.5625"
loading="eager" loading="eager"
decoding="async" decoding="async"
width="768" width="768"