Files
sign/apps/web/pages/404.jsx

37 lines
1.3 KiB
React
Raw Normal View History

2023-02-14 13:51:28 +01:00
import { Button } from "@documenso/ui";
2023-02-13 23:31:38 +01:00
import Logo from "../components/logo";
2023-04-04 22:02:32 +00:00
import { ArrowSmallLeftIcon } from "@heroicons/react/20/solid";
2023-05-28 13:10:09 +10:00
import Link from "next/link";
2023-02-13 22:33:39 +01:00
export default function Custom404() {
return (
<>
2023-04-04 22:02:32 +00:00
<main className="relative isolate min-h-full bg-gray-100">
2023-05-28 13:10:09 +10:00
<Link href="/" className="absolute top-10 left-10 flex gap-x-2 items-center">
<Logo className="w-10" />
<h2 className="text-2xl font-semibold">Documenso</h2>
</Link>
2023-02-14 13:51:28 +01:00
2023-04-04 22:02:32 +00:00
<div className="mx-auto max-w-7xl px-6 py-48 text-center sm:py-40 lg:px-8">
<p className="text-brown text-base font-semibold leading-8">404</p>
2023-04-04 22:10:30 +00:00
<h1 className="text-brown mt-4 text-3xl font-bold tracking-tight sm:text-5xl">
Page not found
</h1>
2023-02-14 13:51:28 +01:00
<p className="mt-4 text-base text-gray-700 sm:mt-6">
2023-02-13 22:33:39 +01:00
Sorry, we couldnt find the page youre looking for.
</p>
2023-04-04 22:02:32 +00:00
<div className="mt-10 flex justify-center">
2023-02-14 13:51:28 +01:00
<Button
color="secondary"
2023-02-13 22:33:39 +01:00
href="/"
2023-02-15 14:45:01 +01:00
icon={ArrowSmallLeftIcon}
2023-04-04 22:02:32 +00:00
className="text-brown text-base font-semibold leading-7">
2023-02-15 14:45:01 +01:00
Back to home
2023-02-14 13:51:28 +01:00
</Button>
2023-02-13 22:33:39 +01:00
</div>
</div>
</main>
</>
);
}