refactor: update asset URLs for vite-imagetools v5
Shorthand parameters have been removed as of vite-imagetools v5
This commit is contained in:
parent
d4dc47b1e1
commit
39993112b7
3 changed files with 17 additions and 17 deletions
|
@ -3,12 +3,12 @@
|
|||
<div class="welcome__image">
|
||||
<picture>
|
||||
<source
|
||||
srcset="@/assets/viktor-avatar.png?w=400;800&avif&quality=75&srcset"
|
||||
srcset="@/assets/viktor-avatar.png?w=400;800&format=avif&quality=75&as=srcset"
|
||||
/>
|
||||
<source
|
||||
srcset="@/assets/viktor-avatar.png?w=400;800&webp&quality=100&srcset"
|
||||
srcset="@/assets/viktor-avatar.png?w=400;800&format=webp&quality=100&as=srcset"
|
||||
/>
|
||||
<img src="@/assets/viktor-avatar.png?w=400&png" alt="Viktor Avatar" />
|
||||
<img src="@/assets/viktor-avatar.png?w=400&format=png" alt="Viktor Avatar" />
|
||||
</picture>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue