Skip to content

Commit

Permalink
feat: display showcase image in noscript
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN committed Feb 17, 2024
1 parent 7eb057b commit cfabf0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/Showcase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
FrameExample(:src="item.showcase.source" :lazy="true")
template(#placeholder)
NuxtLink(:to="pathSanitizer.sanitize(item._path)")
img(:src="getPreview(item.preview)")
noscript
img(:src="getPreview(item.preview)" loading="lazy")

</template>

Expand Down

0 comments on commit cfabf0a

Please sign in to comment.