* Removed emptyscreen component v1 version, migrated pages that still used it to v2, and removed v1 of workflow pages and components. * updated workflow pages imports to remove v2 from path. * Deleted v1 switch component, deleted v1 api-keys components, deleted old web integrations components that were unused. * Removed v1 list component. * Fixed event workflows tab path. * Fixed import path for button in sandbox page. * Cleanup and type fixes * Making explicit indexes * UI import migrations * More import fixes * More import fixes * Submodule sync * Type fixes * Build fixes Co-authored-by: zomars <[email protected]>
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
import Head from "next/head";
|
||
|
||
import { WEBSITE_URL } from "@calcom/lib/constants";
|
||
import { Button } from "@calcom/ui";
|
||
|
||
export default function Error500() {
|
||
return (
|
||
<div className="flex h-screen">
|
||
<Head>
|
||
<title>Something unexpected occurred | Cal.com</title>
|
||
<link rel="icon" href="/favicon.ico" />
|
||
</Head>
|
||
<div className="m-auto text-center">
|
||
<h1 className="font-cal text-[250px] text-gray-900">
|
||
5
|
||
{
|
||
// eslint-disable-next-line @next/next/no-img-element
|
||
<img src="/error.svg" className="-mt-10 inline w-60" alt="0" />
|
||
}
|
||
0
|
||
</h1>
|
||
<h2 className="mb-2 -mt-16 text-3xl text-gray-600">It's not you, it's us.</h2>
|
||
<p className="mb-4 max-w-2xl text-gray-500">
|
||
Something went wrong on our end. Get in touch with our support team, and we’ll get it fixed right
|
||
away for you.
|
||
</p>
|
||
<Button href={`${WEBSITE_URL}/support`}>Contact support</Button>
|
||
<Button color="secondary" href="javascript:history.back()" className="ml-2">
|
||
Go back
|
||
</Button>
|
||
</div>
|
||
</div>
|
||
);
|
||
}
|