import { NextPage, NextPageContext } from "next"; import Link from "next/link"; import styles from "../styles/Errorpage.module.css"; const Error: NextPage<{ statusCode?: number }> = ({ statusCode }) => { const svg = ` ${statusCode ? statusCode : "???"} `; return