feat(*): refactor dynamic vs. static structure and distinctions; make additional elements dynamic
This commit is contained in:
parent
7a0b808f24
commit
13d17e2e51
128 changed files with 982 additions and 959 deletions
17
src/includes/static/blocks/hero.liquid
Normal file
17
src/includes/static/blocks/hero.liquid
Normal file
|
@ -0,0 +1,17 @@
|
|||
<img
|
||||
srcset="
|
||||
{{ image }}?class=bannersm&type=webp 256w,
|
||||
{{ image }}?class=bannermd&type=webp 512w,
|
||||
{{ image }}?class=bannerbase&type=webp 1024w
|
||||
"
|
||||
sizes="(max-width: 450px) 256px,
|
||||
(max-width: 850px) 512px,
|
||||
1024px"
|
||||
src="{{ image }}?class=bannersm&type=webp"
|
||||
alt="{{ alt | replaceQuotes }}"
|
||||
class="image-banner"
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
width="720"
|
||||
height="480"
|
||||
>
|
Loading…
Add table
Add a link
Reference in a new issue