fix: use preview transform for home page video teasers
Some checks failed
Build and Push Backend Image / build (push) Has been cancelled
Build and Push Frontend Image / build (push) Has been cancelled

thumbnail (300x300 square) was double-cropping inside the wide h-48
container. preview (800px, aspect-ratio preserved) lets object-cover
do the only crop, matching the videos and model pages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 21:24:59 +01:00
parent 845e3df223
commit df89cc59f5

View File

@@ -134,7 +134,7 @@ const { data } = $props();
>
<div class="relative">
<img
src={getAssetUrl(video.image, 'thumbnail')}
src={getAssetUrl(video.image, 'preview')}
alt={video.title}
class="w-full h-48 object-cover group-hover:scale-105 transition-transform duration-300"
/>