feat(performance): optimize Core Web Vitals with CSS animations and lazy analytics
- Replace framer-motion with CSS animations in TrustBadges, AsSeenIn, ProblemSection - Create AnalyticsProvider client component for OpenPanel lazy-loading - Fix HeroVideo CLS with explicit aspect-ratio (4/3) - Remove deprecated swcMinify from next.config (enabled by default) - Add optimizePackageImports for better tree-shaking
This commit is contained in:
@@ -21,7 +21,7 @@ export default function HeroVideo({ locale = "sr" }: HeroVideoProps) {
|
||||
};
|
||||
|
||||
return (
|
||||
<section className="relative min-h-screen w-full overflow-hidden">
|
||||
<section className="relative w-full overflow-hidden" style={{ aspectRatio: '3/4', maxHeight: '100vh' }}>
|
||||
{/* Background Image with Overlay */}
|
||||
<div className="absolute inset-0">
|
||||
<Image
|
||||
|
||||
Reference in New Issue
Block a user