feat(ui): finalize E-TIB modernization with footer redesign, video optimization, and TS fixes

Former-commit-id: 67ac02c8404cc66893fdf97308574701cca6000c
This commit is contained in:
2026-05-07 10:43:20 +02:00
parent f2fdea96ec
commit 5439df72ea
3712 changed files with 932332 additions and 1867 deletions

View File

@@ -29,10 +29,17 @@ export default function Error({
stack: error?.stack,
digest: error?.digest,
});
// Force solid header
document.body.setAttribute('data-force-solid-header', 'true');
return () => {
document.body.removeAttribute('data-force-solid-header');
};
}, [error]);
return (
<Container className="relative py-24 flex flex-col items-center justify-center text-center min-h-[70vh] overflow-hidden">
<>
<Container className="relative py-32 mt-16 flex flex-col items-center justify-center text-center min-h-[70vh] overflow-hidden">
{/* Industrial Background Element */}
<div className="absolute inset-0 -z-10 opacity-[0.03] pointer-events-none flex items-center justify-center">
<span className="text-[20rem] font-bold select-none">500</span>
@@ -45,13 +52,13 @@ export default function Error({
<Scribble variant="underline" className="w-full h-6 -bottom-2 left-0 text-saturated/40" />
</div>
<Heading level={2} className="text-2xl md:text-3xl font-bold mb-4">
<Heading level={2} className="text-2xl md:text-3xl font-bold mb-4 text-primary">
{t('title')}
</Heading>
<p className="text-white/60 mb-10 max-w-md text-lg">{t('description')}</p>
<p className="text-text-secondary mb-10 max-w-md text-lg mx-auto">{t('description')}</p>
<div className="flex flex-col sm:flex-row gap-4">
<div className="flex flex-col sm:flex-row gap-4 justify-center">
<Button onClick={() => reset()} variant="saturated" size="lg">
{t('tryAgain')}
</Button>
@@ -63,5 +70,6 @@ export default function Error({
{/* Decorative Industrial Line */}
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-px h-24 bg-gradient-to-b from-saturated/50 to-transparent" />
</Container>
</>
);
}