infoalloggi-monorepo/apps/infoalloggi/src/components/doc_not_found.tsx

19 lines
701 B
TypeScript
Raw Normal View History

2025-08-04 17:45:44 +02:00
import { MissingFile } from "~/components/svgs";
import { useTranslation } from "~/providers/I18nProvider";
export const DocNotFoundPage = () => {
2025-08-28 18:27:07 +02:00
const { t } = useTranslation();
return (
<div className="flex min-h-[60vh] w-full items-center justify-center">
<div className="max-w-lg space-y-5 rounded-xl border bg-white p-10 text-center shadow-lg">
<MissingFile className="mx-auto mb-4 size-32 fill-indigo-600" />
2025-10-10 16:18:43 +02:00
<h1 className="mb-2 font-extrabold text-3xl text-indigo-600">
2025-08-28 18:27:07 +02:00
{t.doc_not_found.titolo}
</h1>
<p className="text-muted-foreground">{t.doc_not_found.sottotitolo}</p>
<p className="text-muted-foreground">{t.doc_not_found.CTA}</p>
</div>
</div>
);
2025-08-04 17:45:44 +02:00
};