perf: remove template.tsx wrapper to eliminate LCP hydration delay

This commit is contained in:
2026-07-02 22:10:45 +02:00
parent c121fe0b93
commit f1d0c9c5b2

View File

@@ -1,19 +0,0 @@
'use client';
import { m } from 'framer-motion';
export default function Template({ children }: { children: React.ReactNode }) {
return (
<m.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{
duration: 0.7,
ease: [0.16, 1, 0.3, 1],
}}
className="w-full h-full"
>
{children}
</m.div>
);
}