2025-08-04 17:45:44 +02:00
|
|
|
import Link from "next/link";
|
|
|
|
|
import { ShieldExclamationIcon } from "~/components/IconComponents";
|
2025-08-28 18:27:07 +02:00
|
|
|
import { useTranslation } from "~/providers/I18nProvider";
|
2025-08-04 17:45:44 +02:00
|
|
|
export default function Custom500Auth() {
|
2025-08-28 18:27:07 +02:00
|
|
|
const { t } = useTranslation();
|
|
|
|
|
return (
|
|
|
|
|
<main>
|
|
|
|
|
<div className="mx-auto flex h-screen max-w-screen-xl items-center justify-start px-4 md:px-8">
|
|
|
|
|
<div className="mx-auto max-w-lg space-y-3 text-center">
|
|
|
|
|
<ShieldExclamationIcon className="mx-auto size-20 text-red-600" />
|
|
|
|
|
<h3 className="text-accent-foreground text-4xl font-semibold sm:text-5xl">
|
|
|
|
|
{t[500].titolo}
|
|
|
|
|
</h3>
|
|
|
|
|
<p className="text-neutral-600">{t[500].sottotitolo}</p>
|
|
|
|
|
<div className="flex flex-wrap items-center justify-center gap-3">
|
|
|
|
|
<Link
|
|
|
|
|
className="block rounded-lg bg-red-600 px-4 py-2 font-medium text-white duration-150 hover:bg-red-500 active:bg-red-700"
|
2025-08-29 16:18:32 +02:00
|
|
|
href="/login"
|
2025-08-28 18:27:07 +02:00
|
|
|
>
|
|
|
|
|
{t[500].CTALogin}
|
|
|
|
|
</Link>
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-28 18:27:07 +02:00
|
|
|
<Link
|
|
|
|
|
className="block rounded-lg border px-4 py-2 font-medium text-neutral-700 duration-150 hover:bg-neutral-50 active:bg-neutral-100"
|
2025-08-29 16:18:32 +02:00
|
|
|
href="/"
|
2025-08-28 18:27:07 +02:00
|
|
|
>
|
|
|
|
|
{t[500].home}
|
|
|
|
|
</Link>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</main>
|
|
|
|
|
);
|
2025-08-04 17:45:44 +02:00
|
|
|
}
|