* adjustments for each language json file: - changed every Cal or Cal.com with a variable to make it possible to change that with a custom brand - fix and renamed ATTENDEE with attendeeName * added two new variables for appName and support mail address. so everybody can change it via env * changed static Cal or Cal.com with new defined constants * Using useLocal to modify static text to make it multilingual, and passing the correct variables for brand and mail * adding new readable variables for brand, website domain and mail address * fixed search routes * made static text multilingual and fixed german translations * Revert "fixed search routes" moved changes in another pr This reverts commit e6ba11a1ec7821d8c16c502d0357f6d5fcdb1958. * revert non whitelabel changes and moved it into another pr * revert attendeeName fix * reverted translation fixes and moved them in another pr * changed back to "Cal.com Logo" * changed back to "https://console.cal.com" * added new env variable for company name and replaced some domainName variables in language files * changed default for COMPANY_NAME to Cal.com, Inc. * changed Cal.com to APP_NAME for mail templates * Dropped website domain in favor of app name * Update .env.example * Apply suggestions from code review * Code review feedback * Delete App.tsx * Update packages/ui/Kbar.tsx * added meta.CTA back it was mistakenly removed * updated add members test Co-authored-by: maxi <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: zomars <[email protected]>
35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
import Head from "next/head";
|
||
|
||
import { APP_NAME, 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 | {APP_NAME}</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>
|
||
);
|
||
}
|