Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Set :alt on SanityImage
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed May 2, 2018
1 parent bc4d15f commit ce7811c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/ProductList.vue
Expand Up @@ -20,10 +20,11 @@
<SanityImage
v-if="product.defaultProductVariant.images[0]"
:image="product.defaultProductVariant.images[0]"
:alt="product.title"
:width="displayView === 'grid' ? 300 : 50"
class="image"
/>

<div class="title">{{ product.title }}</div>
<p v-if="displayView === 'grid'" class="blurb">{{ product.blurb }}</p>
</router-link>
Expand Down

0 comments on commit ce7811c

Please sign in to comment.