From 079398239f2c00cfe432a8a899eb5947637e4f03 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 11 May 2026 11:02:01 +0200 Subject: [PATCH] feat: apply drill-bit tooth clip-path to PageTransitionShutter Former-commit-id: 9eab20dc309b3597d730fd6bc054417b1c35be4d --- components/providers/PageTransitionShutter.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 */}