mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
fix: remove jpeg and png and use webp as fallback
This commit is contained in:
committed by
Stefan Imhoff
parent
14c4a83147
commit
ed11a1a7b1
@@ -92,13 +92,14 @@ const wrapperProps = href ? { href } : {};
|
||||
alt={alt ?? ''}
|
||||
class="rounded-2"
|
||||
decoding={decoding}
|
||||
formats={['avif', 'webp', 'jpg', 'png']}
|
||||
fallbackFormat="webp"
|
||||
formats={['avif', 'webp']}
|
||||
height={parsedHeight}
|
||||
loading={loading}
|
||||
quality={quality}
|
||||
sizes={sizes}
|
||||
src={localImage}
|
||||
width={parsedWidth}
|
||||
height={parsedHeight}
|
||||
/>
|
||||
) : (
|
||||
<img
|
||||
|
||||
Reference in New Issue
Block a user