// Base layout import Layout from "./components/Layout" // React Router import { useRouter } from 'next/router' // Next.js import Link from 'next/link' import useTranslation from 'next-translate/useTranslation' export default function Custom404(props) { const router = useRouter() const { locale, locales, defaultLocale, pathname } = router const { t, lang } = useTranslation("404") return (

404

{t('caption')}

{t('return')}

) }