feat: support nav and pages in cms
This commit is contained in:
parent
e1b0dc5243
commit
f5adf0ba06
35 changed files with 235 additions and 444 deletions
19
src/_includes/partials/blocks/hero.liquid
Normal file
19
src/_includes/partials/blocks/hero.liquid
Normal file
|
@ -0,0 +1,19 @@
|
|||
<img
|
||||
srcset="
|
||||
https://cdn.coryd.dev/{{ image }}?class=bannersm 256w,
|
||||
https://cdn.coryd.dev/{{ image }}?class=bannermd 512w,
|
||||
https://cdn.coryd.dev/{{ image }}?class=bannerbase 1024w,
|
||||
https://cdn.coryd.dev/{{ image }}?class=bannerlg 2048w
|
||||
"
|
||||
sizes="(max-width: 450px) 256px,
|
||||
(max-width: 850px) 512px,
|
||||
(max-width: 1000px) 1024px,
|
||||
2048px"
|
||||
src="https://cdn.coryd.dev/{{ image }}?class=bannerlg"
|
||||
alt="{{ alt }}"
|
||||
class="image-banner"
|
||||
loading="eager"
|
||||
decoding="async"
|
||||
width="1080"
|
||||
height="720"
|
||||
/>
|
Reference in a new issue