import { ChevronRightIcon } from "@heroicons/react/solid"; import { BookOpenIcon, CheckIcon, CodeIcon, DocumentTextIcon } from "@heroicons/react/outline"; import { useRouter } from "next/router"; import React from "react"; import Link from "next/link"; import { HeadSeo } from "@components/seo/head-seo"; const links = [ { title: "Documentation", description: "Learn how to integrate our tools with your app", icon: DocumentTextIcon, href: "https://docs.calendso.com", }, { title: "API Reference", description: "A complete API reference for our libraries", icon: CodeIcon, href: "https://api.docs.calendso.com", }, { title: "Blog", description: "Read our latest news and articles", icon: BookOpenIcon, href: "https://calendso.com/blog", }, ]; export default function Custom404() { const router = useRouter(); const username = router.asPath.replace("%20", "-"); const isEventType404 = router.asPath.includes("/event-types"); return ( <>

404 error

This page does not exist.

{isEventType404 ? ( Check for spelling mistakes or go back to the previous page. ) : ( The username calendso.com{username} is still available. Register now. )}

Popular pages

{!isEventType404 && ( )}
Or go back home
); }