fix: adjust header image dimensions to improve image quality
addresses #8698uzqru
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<f:alias map="{image: slide.image.0}">
|
||||
<f:if condition="{image}">
|
||||
<picture>
|
||||
<source srcset="{f:uri.image(image: image, width: '1370')}" media="(min-width: 768px)">
|
||||
<source srcset="{f:uri.image(image: image, width: '1440')}" media="(min-width: 768px)">
|
||||
<source srcset="{f:uri.image(image: image, height: '320', cropVariant: 'mobile')}" media="(max-width: 767px)">
|
||||
<f:image class="block w-full h-full object-cover"
|
||||
image="{image}"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</f:if>
|
||||
<div class="herounit h-80 lg:h-96 mb-8">
|
||||
<picture>
|
||||
<source srcset="{f:uri.image(image: image, width: '1370c', height: '380c')}" media="(min-width: 768px)">
|
||||
<source srcset="{f:uri.image(image: image, width: '1440c', height: '380c')}" media="(min-width: 768px)">
|
||||
<source srcset="{f:uri.image(image: image, height: '320c')}" media="(max-width: 767px)">
|
||||
<f:image class="block w-full h-full object-cover"
|
||||
image="{image}"
|
||||
|
||||
Reference in New Issue
Block a user