diff --git a/pages/404.tsx b/pages/404.tsx index 51c586ef..a2f79a0c 100644 --- a/pages/404.tsx +++ b/pages/404.tsx @@ -16,7 +16,7 @@ const links = [ title: "API Reference", description: "A complete API reference for our libraries", icon: CodeIcon, - href: "https://developer.calendso.com/api", + href: "https://api.docs.calendso.com", }, { title: "Blog", @@ -30,6 +30,8 @@ export default function Custom404() { const router = useRouter(); const username = router.asPath.replace("%20", "-"); + const isEventType404 = router.asPath.includes("/event-types"); + return ( <> This page does not exist. - - The username calendso.com{username} is still - available. Register now. - + {isEventType404 ? ( + + Check for spelling mistakes or go back to the previous page. + + ) : ( + + The username calendso.com{username} is still + available. Register now. + + )}

Popular pages

- - +
+
+

+ + + + +

+

Claim your username and schedule events

+
+
+
+ + + + )}