fixed 404 signup page (#4603)

pull/4605/head
Peer Richelsen 2022-09-19 15:49:04 +00:00 committed by GitHub
parent c1cb02a9d1
commit 1de00d46bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 31 deletions

View File

@ -73,7 +73,7 @@ export default function Custom404() {
<ul role="list" className="mt-4"> <ul role="list" className="mt-4">
<li className="border-2 border-green-500 px-4 py-2"> <li className="border-2 border-green-500 px-4 py-2">
<a <a
href={`${WEBSITE_URL}/pricing?infra`} href="https://console.cal.com"
className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse"> className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse">
<div className="flex-shrink-0"> <div className="flex-shrink-0">
<span className="flex h-12 w-12 items-center justify-center rounded-lg bg-green-50"> <span className="flex h-12 w-12 items-center justify-center rounded-lg bg-green-50">
@ -190,12 +190,10 @@ export default function Custom404() {
{t("check_spelling_mistakes_or_go_back")} {t("check_spelling_mistakes_or_go_back")}
</span> </span>
) : isCalcom ? ( ) : isCalcom ? (
<Link href={url}> <a target="_blank" href={url} className="mt-2 inline-block text-lg" rel="noreferrer">
<a className="mt-2 inline-block text-lg"> {t("the_username")} <strong className="text-blue-500">cal.com{username}</strong>{" "}
{t("the_username")} <strong className="text-blue-500">cal.com{username}</strong>{" "} {t("is_still_available")} <span className="text-blue-500">{t("register_now")}</span>.
{t("is_still_available")} <span className="text-blue-500">{t("register_now")}</span>. </a>
</a>
</Link>
) : ( ) : (
<span className="mt-2 inline-block text-lg"> <span className="mt-2 inline-block text-lg">
{t("the_username")}{" "} {t("the_username")}{" "}
@ -211,31 +209,31 @@ export default function Custom404() {
{!isSubpage && isCalcom && ( {!isSubpage && isCalcom && (
<ul role="list" className="mt-4"> <ul role="list" className="mt-4">
<li className="border-2 border-green-500 px-4 py-2"> <li className="border-2 border-green-500 px-4 py-2">
<Link href={url}> <a
<a className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse"> href={url}
<div className="flex-shrink-0"> target="_blank"
<span className="flex h-12 w-12 items-center justify-center rounded-lg bg-green-50"> className="relative flex items-start space-x-4 py-6 rtl:space-x-reverse"
<Icon.FiCheck className="h-6 w-6 text-green-500" aria-hidden="true" /> rel="noreferrer">
</span> <div className="flex-shrink-0">
</div> <span className="flex h-12 w-12 items-center justify-center rounded-lg bg-green-50">
<div className="min-w-0 flex-1"> <Icon.FiCheck className="h-6 w-6 text-green-500" aria-hidden="true" />
<h3 className="text-base font-medium text-gray-900"> </span>
<span className="rounded-sm focus-within:ring-2 focus-within:ring-gray-500 focus-within:ring-offset-2"> </div>
<span className="focus:outline-none"> <div className="min-w-0 flex-1">
<span className="absolute inset-0" aria-hidden="true" /> <h3 className="text-base font-medium text-gray-900">
{t("register")} <strong className="text-green-500">{username}</strong> <span className="rounded-sm focus-within:ring-2 focus-within:ring-gray-500 focus-within:ring-offset-2">
</span> <span className="focus:outline-none">
<span className="absolute inset-0" aria-hidden="true" />
{t("register")} <strong className="text-green-500">{username}</strong>
</span> </span>
</h3> </span>
<p className="text-base text-gray-500"> </h3>
{t("claim_username_and_schedule_events")} <p className="text-base text-gray-500">{t("claim_username_and_schedule_events")}</p>
</p> </div>
</div> <div className="flex-shrink-0 self-center">
<div className="flex-shrink-0 self-center"> <Icon.FiChevronRight className="h-5 w-5 text-gray-400" aria-hidden="true" />
<Icon.FiChevronRight className="h-5 w-5 text-gray-400" aria-hidden="true" /> </div>
</div> </a>
</a>
</Link>
</li> </li>
</ul> </ul>
)} )}