2022-02-18 17:33:18 +00:00
|
|
|
|
import Head from "next/head";
|
|
|
|
|
|
2022-11-30 21:52:56 +00:00
|
|
|
|
import { APP_NAME, WEBSITE_URL } from "@calcom/lib/constants";
|
2022-12-07 20:53:44 +00:00
|
|
|
|
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
2022-11-23 02:55:25 +00:00
|
|
|
|
import { Button } from "@calcom/ui";
|
2022-02-18 17:33:18 +00:00
|
|
|
|
|
|
|
|
|
export default function Error500() {
|
2022-12-07 20:53:44 +00:00
|
|
|
|
const { t } = useLocale();
|
|
|
|
|
|
2022-02-18 17:33:18 +00:00
|
|
|
|
return (
|
|
|
|
|
<div className="flex h-screen">
|
|
|
|
|
<Head>
|
2022-11-30 21:52:56 +00:00
|
|
|
|
<title>Something unexpected occurred | {APP_NAME}</title>
|
2022-02-18 17:33:18 +00:00
|
|
|
|
<link rel="icon" href="/favicon.ico" />
|
|
|
|
|
</Head>
|
|
|
|
|
<div className="m-auto text-center">
|
|
|
|
|
<h1 className="font-cal text-[250px] text-gray-900">
|
2022-05-14 13:49:39 +00:00
|
|
|
|
5
|
|
|
|
|
{
|
|
|
|
|
// eslint-disable-next-line @next/next/no-img-element
|
|
|
|
|
<img src="/error.svg" className="-mt-10 inline w-60" alt="0" />
|
|
|
|
|
}
|
|
|
|
|
0
|
2022-02-18 17:33:18 +00:00
|
|
|
|
</h1>
|
2022-03-14 11:59:05 +00:00
|
|
|
|
<h2 className="mb-2 -mt-16 text-3xl text-gray-600">It's not you, it's us.</h2>
|
2022-03-14 19:39:37 +00:00
|
|
|
|
<p className="mb-4 max-w-2xl text-gray-500">
|
2022-02-18 17:33:18 +00:00
|
|
|
|
Something went wrong on our end. Get in touch with our support team, and we’ll get it fixed right
|
|
|
|
|
away for you.
|
|
|
|
|
</p>
|
2022-12-07 20:53:44 +00:00
|
|
|
|
<Button href={`${WEBSITE_URL}/support`}>{t("contact_support")}</Button>
|
2022-02-18 17:33:18 +00:00
|
|
|
|
<Button color="secondary" href="javascript:history.back()" className="ml-2">
|
|
|
|
|
Go back
|
|
|
|
|
</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|