feat: make Image unoptimized

This commit is contained in:
shinya
2025-06-25 21:32:48 +08:00
parent 70c0d8efc3
commit a18e5d4b84
5 changed files with 11 additions and 1 deletions

View File

@@ -152,7 +152,13 @@ export default function VideoCard({
<div className='group relative w-full rounded-lg bg-transparent shadow-none flex flex-col'>
{/* 海报图片 - 2:3 比例 */}
<div className='relative aspect-[2/3] w-full overflow-hidden rounded-md'>
<Image src={poster} alt={title} fill className='object-cover' />
<Image
src={poster}
alt={title}
fill
className='object-cover'
unoptimized
/>
{/* Hover 效果 */}
<div className='absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 transition-opacity duration-200 flex items-center justify-center group pointer-events-none'>