import Head from "next/head"; import Link from "next/link"; import { useTranslation } from "next-i18next"; import * as React from "react"; import { Button } from "@/components/button"; import Chat from "@/components/icons/chat.svg"; import EmojiSad from "@/components/icons/emoji-sad.svg"; import { showCrispChat } from "./crisp-chat"; export interface ComponentProps { icon?: React.ComponentType<{ className?: string }>; title: string; description: string; } const ErrorPage: React.VoidFunctionComponent = ({ icon: Icon = EmojiSad, title, description, }) => { const { t } = useTranslation("errors"); return (
{title}
{title}

{description}

{t("goToHome")}
); }; export default ErrorPage;