Use NuxtImg
All checks were successful
pipeline / build-and-push-images (push) Successful in 36s
pipeline / deploy (push) Successful in 7s

This commit is contained in:
2024-11-25 00:55:02 +01:00
parent eb31fe109f
commit a874fd6c21
8 changed files with 586 additions and 15 deletions

View File

@@ -28,7 +28,7 @@ async function submit() {
<div class="champion-container" style="margin-top: 20px; margin-bottom: 20px;">
<NuxtLink v-for="champion in filteredChampions" :to="'/champion/' + champion.alias.toLowerCase()">
<div class="champion-img-container">
<img class="champion-img" :src="CDRAGON_BASE + mapPath(champion.squarePortraitPath)" :alt="champion.name"/>
<NuxtImg class="champion-img" :src="CDRAGON_BASE + mapPath(champion.squarePortraitPath)" :alt="champion.name"/>
</div>
</NuxtLink>
</div>