fix: add alt text

This commit is contained in:
eggy
2023-04-18 15:08:15 -04:00
parent a6d376db80
commit bd3f8f5d02
4 changed files with 13 additions and 4 deletions

View File

@@ -11,7 +11,10 @@ const props = defineProps<{ activeItem?: string }>();
<li class="home-text"><a href="/">Eggworld</a></li>
<li v-for="(item, index) in navItems" :key="index">
<a :href="item.href" class="flex gap-2">
<img :src="`/nav/${item.title.toLowerCase()}.svg`" />
<img
:src="`/nav/${item.title.toLowerCase()}.svg`"
:alt="`${item.title} logo`"
/>
{{ item.title }}</a
>
</li>