chore: widgets are blocks, not all blocks need to connect to the cms; bye bugs

This commit is contained in:
Cory Dransfeldt 2024-07-15 17:31:45 -07:00
parent 16eb58fe0f
commit 00fd39db89
No known key found for this signature in database
35 changed files with 77 additions and 48 deletions

View file

@ -0,0 +1,18 @@
<div class="badge-grid">
{% for badge in badges limit: 8 %}
<a href="{{ badge.url }}">
<img srcset="
https://cdn.coryd.dev/{{ badge.image }}?class=w50 50w,
https://cdn.coryd.dev/{{ badge.image }}?class=w100 100w,
https://cdn.coryd.dev/{{ badge.image }}?class=w200 200w,
" sizes="(max-width: 450px) 88px,
(max-width: 850px) 176px,
(max-width: 1000px) 352px,
704px" src="https://cdn.coryd.dev/{{ badge.image }}?class=w200" alt="{{ badge.image_alt }}" loading="lazy"
decoding="async"
width="88"
height="31"
/>
</a>
{% endfor %}
</div>