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

34 lines
1.2 KiB
React
Raw Normal View History

import Link from "next/link";
import { Button } from "@documenso/ui";
2023-04-04 22:02:32 +00:00
import Logo from "../components/logo";
import { ArrowSmallLeftIcon } from "@heroicons/react/20/solid";
import { EllipsisVerticalIcon } from "@heroicons/react/20/solid";
2023-02-13 13:04:15 +01:00
export default function Custom500() {
2023-02-13 13:04:15 +01:00
return (
<>
2023-04-04 22:02:32 +00:00
<div className="relative flex min-h-full flex-col items-center justify-center bg-black text-white">
<Link href="/" className="absolute top-10 left-10 flex items-center gap-x-2 invert">
<Logo className="w-10 text-black" />
2023-05-28 13:10:09 +10:00
<h2 className="text-2xl font-semibold text-black">Documenso</h2>
</Link>
2023-04-04 22:02:32 +00:00
<div className="mt-20 max-w-7xl px-4 py-10">
2023-02-23 19:04:50 +01:00
<p className="inline-flex items-center text-3xl font-bold sm:text-5xl">
500
2023-04-04 22:02:32 +00:00
<span className="relative -top-1.5 px-3 font-thin sm:text-6xl">|</span>{" "}
2023-04-04 22:10:30 +00:00
<span className="align-middle text-base font-semibold sm:text-2xl">
Something went wrong.
</span>
2023-02-23 19:04:50 +01:00
</p>
2023-04-04 22:02:32 +00:00
<div className="mt-10 flex justify-center">
2023-02-22 17:44:03 +01:00
<Button color="secondary" href="/" icon={ArrowSmallLeftIcon}>
Back to home
</Button>
</div>
</div>
</div>
2023-02-13 13:04:15 +01:00
</>
);
}