diff --git a/components/providers/PageTransitionShutter.tsx b/components/providers/PageTransitionShutter.tsx index a53de6886..88063aa78 100644 --- a/components/providers/PageTransitionShutter.tsx +++ b/components/providers/PageTransitionShutter.tsx @@ -17,8 +17,13 @@ export function PageTransitionShutter() { initial={{ y: '100%' }} animate={{ y: '0%' }} exit={{ y: '-100%' }} - transition={{ duration: 0.8, ease: [0.16, 1, 0.3, 1] }} - className="fixed inset-0 z-[9998] bg-[#050B14] pointer-events-none flex flex-col items-center justify-center overflow-hidden" + transition={{ duration: 1.0, ease: [0.16, 1, 0.3, 1] }} + className="fixed left-0 w-full z-[9998] bg-[#050B14] pointer-events-none flex flex-col items-center justify-center overflow-hidden" + style={{ + height: '130vh', + top: '-15vh', + clipPath: 'polygon(0% 8%, 8.3% 0%, 16.6% 8%, 25% 0%, 33.3% 8%, 41.6% 0%, 50% 8%, 58.3% 0%, 66.6% 8%, 75% 0%, 83.3% 8%, 91.6% 0%, 100% 8%, 100% 92%, 91.6% 100%, 83.3% 92%, 75% 100%, 66.6% 92%, 58.3% 100%, 50% 92%, 41.6% 100%, 33.3% 92%, 25% 100%, 16.6% 92%, 8.3% 100%, 0% 92%)' + }} > {/* Subtle grid background */}