perf(feed): intrinsic dimensions + async decode on video thumbnails

Give the feed card thumbnail width/height (16:9) so the browser reserves the
aspect box before load (CLS), and decoding=async so image decode never blocks
the main thread. loading=lazy was already set.
This commit is contained in:
2026-07-04 19:13:11 +02:00
parent 1dd74fcda9
commit 11ee22847a
+3
View File
@@ -153,6 +153,9 @@ function Thumb({
src={video.thumbnail_url}
alt=""
loading="lazy"
decoding="async"
width={1280}
height={720}
className="w-full h-full object-cover"
/>
) : (