feat: refactor image loading

This commit is contained in:
Cory Dransfeldt 2024-05-01 17:46:07 -07:00
parent 22fd3850ef
commit 93fb7eafeb
No known key found for this signature in database
30 changed files with 3408 additions and 4023 deletions

View file

@ -5,7 +5,7 @@ permalink: /404.html
image: /assets/img/404.jpg
---
<div class="four-oh-four-wrapper">
{% image 'https://coryd.dev/.netlify/images/?url=/assets/img/404.jpg&w=1000', title, 'image-banner', 'eager' %}
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/404.jpg&fm=webp&q=85&w=1000" alt="{{ alt }}" class="image-banner" loading="eager" decoding="async" />
<div class="text-centered">
<h2 class="page-header">{{ title }}</h2>
What kind of idiots do you have working here? <a href="/">Hurry up and skip out on the room service bill!</a>