This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/src/includes/partials/blocks/hero.liquid

17 lines
No EOL
476 B
Text

<img
srcset="
{{ globals.cdn_url }}{{ image }}?class=bannersm&type=webp 256w,
{{ globals.cdn_url }}{{ image }}?class=bannermd&type=webp 512w,
{{ globals.cdn_url }}{{ image }}?class=bannerbase&type=webp 1024w
"
sizes="(max-width: 450px) 256px,
(max-width: 850px) 512px
1024px"
src="{{ globals.cdn_url }}{{ image }}?class=bannersm&type=webp"
alt="{{ alt }}"
class="image-banner"
loading="lazy"
decoding="async"
width="720"
height="480"
/>