mirror of
https://github.com/hanzo-apps/dataroom.git
synced 2026-10-30 14:47:36 +00:00
35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
import Link from "next/link";
|
||
|
||
export default function NotFound({ message }: { message?: string }) {
|
||
return (
|
||
<>
|
||
<div className="flex min-h-screen flex-col pb-12 pt-16">
|
||
<main className="mx-auto flex w-full max-w-7xl flex-grow flex-col justify-center px-4 sm:px-6 lg:px-8">
|
||
<div className="py-16">
|
||
<div className="text-center">
|
||
<p className="text-sm font-semibold uppercase tracking-wide text-indigo-600">
|
||
404 error
|
||
</p>
|
||
<h1 className="mt-2 text-4xl font-extrabold tracking-tight text-slate-950 dark:text-gray-100 sm:text-5xl">
|
||
Page not found.
|
||
</h1>
|
||
<p className="mt-2 text-base text-gray-600">
|
||
{message ||
|
||
"Sorry, we couldn’t find the page you’re looking for."}
|
||
</p>
|
||
<div className="mt-6">
|
||
<Link
|
||
href="/"
|
||
className="text-base font-medium text-indigo-600 hover:text-indigo-500"
|
||
>
|
||
Go back home <span aria-hidden="true"> →</span>
|
||
</Link>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</main>
|
||
</div>
|
||
</>
|
||
);
|
||
}
|