diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index e8f523827..14ee955a5 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_v3'); + const hasSeenLoader = cookieStore.has('etib_initial_loader_v4'); return ( { // Set a session cookie so the server knows not to render the loader again - document.cookie = "etib_initial_loader_v3=true; path=/; samesite=lax"; + document.cookie = "etib_initial_loader_v4=true; path=/; samesite=lax"; setIsLoading(false); }; @@ -59,57 +60,59 @@ export function InitialLoader({ shouldShowLoader = true }: { shouldShowLoader?: initial={{ y: 0 }} exit={{ y: '-100%' }} transition={{ duration: 1.2, ease: [0.16, 1, 0.3, 1], delay: 0.2 }} - className="fixed inset-0 z-[9999] bg-neutral-dark flex flex-col items-center justify-center overflow-hidden" + className="fixed inset-0 z-[9999] bg-[#050B14] flex flex-col items-center justify-center overflow-hidden" > - {/* E-TIB Premium Glow */} -
+ {/* Subtle grid background */} +
+ + {/* Deep Glow */} +
- {/* Minimalistisches Logo oder Loader */} -
- + E-TIB Gruppe - - - E-TIB -
- + {/* Elegant Progress Bar */} +
+
+ System + Online +
- - - Loading Infrastructure - + initial={{ opacity: 0, y: 10 }} + animate={{ opacity: 1, y: 0 }} + transition={{ delay: 0.3 }} + className="h-[2px] w-full bg-white/5 overflow-hidden relative rounded-full" + > + + +
)} diff --git a/next-env.d.ts b/next-env.d.ts index 9edff1c7c..c4b7818fb 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/types/routes.d.ts"; +import "./.next/dev/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.