Source Sets

This commit is contained in:
Firq 2024-10-22 20:45:39 +02:00
parent 564e902b69
commit d93d0416e5
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
8 changed files with 10 additions and 9 deletions
src/components/cards

View file

@ -25,7 +25,7 @@ const loadedImage = plsLoadImage(images, imagePath)
aria-label=`${name} - new window`
>
<div class="heading">{name}</div>
<Image src={loadedImage} alt={name} loading={'eager'}/>
<Image src={loadedImage} widths={[256, 512]} sizes={"(max-width: 512px) 256px, 512px"} quality={100} alt={name} loading={'eager'}/>
<h2 class="subtext">
{origin}
</h2>