Skip to content

Commit

Permalink
fix: 🐛 Use regular <img> in blog cards
Browse files Browse the repository at this point in the history
  • Loading branch information
CPlusPatch committed Jul 20, 2024
1 parent 41d0050 commit a818a0e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/blog/Presentation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ const formatDate = (date?: string) => {
class="flex flex-col items-start h-full justify-between"
:href="`${post.path}`">
<div class="relative w-full" v-if="post.image">
<nuxt-img
format="webp"
width="500"
<img
:src="post.image"
alt=""
class="aspect-[16/9] w-full rounded bg-dark-100 object-cover sm:aspect-[2/1] lg:aspect-[3/2]" />
Expand Down

0 comments on commit a818a0e

Please sign in to comment.