Using <NuxtImg> everywhere :)
This commit is contained in:
@@ -14,7 +14,9 @@ if(route.path.startsWith("/tierlist/")) {
|
||||
<NuxtLink style="margin-top: 5px; margin-bottom: 5px;" v-for="(pos, i) in POSITIONS" :to="'/tierlist/' + pos">
|
||||
<div :class="selected == pos ? 'sidebar-link-selected' : ''"
|
||||
class="sidebar-link" style="padding-left: 35px; display: flex; align-items: center;">
|
||||
<img width="40" height="40" :src="LANE_IMAGES[i]" :alt="POSITIONS_STR[i]" />
|
||||
<NuxtImg format="webp"
|
||||
width="40" height="40"
|
||||
:src="LANE_IMAGES[i]" :alt="POSITIONS_STR[i]" />
|
||||
<h3 style="font-size: 2.1rem; font-weight: 200; margin-left: 10px;">{{ POSITIONS_STR[i] }}</h3>
|
||||
</div>
|
||||
</NuxtLink>
|
||||
|
||||
Reference in New Issue
Block a user