Skip to content

Commit be563bd

Browse files
committed
🎈 perf: agregar los atributso width and height a las imagnes
1 parent 1aab18c commit be563bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Articles.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ const allPosts = await Astro.glob('../pages/posts/*.md');
2727
<img
2828
transition:name={post.frontmatter.title}
2929
src={post.frontmatter.image.src}
30-
class="w-[234px] rounded-xl max-lg:w-full"
30+
width="234"
31+
height="144"
32+
class="rounded-xl max-lg:w-full"
3133
alt={post.frontmatter.image.alt}
3234
/>
3335
<section>

0 commit comments

Comments
 (0)