Fix: Add unoptimized to hero poster to fix 4.8s LCP delay and restore optimizeCss

This commit is contained in:
2026-06-23 00:51:34 +02:00
parent b0fae48e65
commit 93714d2683
2 changed files with 2 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ export function HeroVideo(props: HeroVideoProps) {
src={posterSrc} src={posterSrc}
alt={posterAlt} alt={posterAlt}
fill fill
unoptimized
className="object-cover z-[1] pointer-events-none filter contrast-125 saturate-110 brightness-90" className="object-cover z-[1] pointer-events-none filter contrast-125 saturate-110 brightness-90"
sizes="100vw" sizes="100vw"
priority priority

View File

@@ -15,6 +15,7 @@ const nextConfig = {
pagesBufferLength: 2, pagesBufferLength: 2,
}, },
experimental: { experimental: {
optimizeCss: true,
staleTimes: { staleTimes: {
dynamic: 0, dynamic: 0,
static: 30, static: 30,