Using <NuxtImg> everywhere :)
All checks were successful
pipeline / build-and-push-images (push) Successful in 33s
pipeline / deploy (push) Successful in 7s

This commit is contained in:
2024-12-06 19:27:42 +01:00
parent 1bdf87c6af
commit 80c7f20eb7
7 changed files with 22 additions and 8 deletions

View File

@@ -39,7 +39,8 @@ function handleHover(laneImg: Ref<string>, index: number) {
<template>
<div style="width: fit-content;">
<img v-for="(laneImg, index) in laneImgs"
<NuxtImg v-for="(laneImg, index) in laneImgs"
format="webp"
:alt="POSITIONS_STR[index]"
class="lane-img" :src="laneImg.value"
@mouseout="handleMouseOut(laneImg, index)"