diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index 14ee955a5..06cc53a9f 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -157,7 +157,7 @@ export default async function Layout(props: { const feedbackEnabled = process.env.NEXT_PUBLIC_FEEDBACK_ENABLED === 'true'; const cookieStore = await cookies(); - const hasSeenLoader = cookieStore.has('etib_initial_loader_v4'); + const hasSeenLoader = cookieStore.has('etib_initial_loader_v5'); return ( { // Set a session cookie so the server knows not to render the loader again - document.cookie = "etib_initial_loader_v4=true; path=/; samesite=lax"; + document.cookie = "etib_initial_loader_v5=true; path=/; samesite=lax"; setIsLoading(false); }; diff --git a/components/providers/PageTransitionShutter.tsx b/components/providers/PageTransitionShutter.tsx index 9c187e1dc..4e3bcedf8 100644 --- a/components/providers/PageTransitionShutter.tsx +++ b/components/providers/PageTransitionShutter.tsx @@ -3,6 +3,7 @@ import React from 'react'; import { motion, AnimatePresence } from 'framer-motion'; import { useTransition } from './TransitionProvider'; +import Image from 'next/image'; export function PageTransitionShutter() { const { isTransitioning } = useTransition(); @@ -16,18 +17,63 @@ export function PageTransitionShutter() { animate={{ y: '0%' }} exit={{ y: '-100%' }} transition={{ duration: 0.8, ease: [0.16, 1, 0.3, 1] }} - className="fixed inset-0 z-[9998] bg-primary-dark pointer-events-none flex flex-col items-center justify-center overflow-hidden" + className="fixed inset-0 z-[9998] bg-[#050B14] pointer-events-none flex flex-col items-center justify-center overflow-hidden" > - {/* E-TIB Premium Glow inside the Shutter */} -
+ {/* Subtle grid background */} + + + {/* Deep Glow inside the Shutter */} +