Tried format webp for ChampionSelector
All checks were successful
pipeline / build-and-push-images (push) Successful in 27s
pipeline / deploy (push) Successful in 7s

This commit is contained in:
2024-12-02 16:23:24 +01:00
parent 9c5b7a6a64
commit 3b0352c7d6

View File

@@ -66,7 +66,7 @@ async function submit() {
<div class="champion-container">
<NuxtLink style="width: fit-content; height: fit-content;" v-for="champion in filteredChampions" :to="'/champion/' + champion.alias.toLowerCase()">
<div class="cs-champion-img-container">
<NuxtImg class="cs-champion-img" :src="CDRAGON_BASE + mapPath(champion.squarePortraitPath)" :alt="champion.name"/>
<NuxtImg format="webp" class="cs-champion-img" :src="CDRAGON_BASE + mapPath(champion.squarePortraitPath)" :alt="champion.name"/>
</div>
</NuxtLink>
</div>