Files
the-biergarten-app/src/pages/404.tsx
Aaron William Po 53c147eecc Remove Layout in page components, used in _app
This fixes a glitch where the theme change button would stop working on client route change.
2023-04-22 22:16:46 -04:00

24 lines
643 B
TypeScript

// create a 404 next js page using tailwind
import { NextPage } from 'next';
import Head from 'next/head';
const NotFound: NextPage = () => {
return (
<>
<Head>
<title>404 Page Not Found</title>
<meta name="description" content="404 Page Not Found" />
</Head>
<div className="mx-2 flex h-full flex-col items-center justify-center text-center lg:mx-0">
<h1 className="text-3xl font-bold lg:text-5xl">404: Not Found</h1>
<h2 className="text-lg font-bold">
Sorry, the page you are looking for does not exist.
</h2>
</div>
</>
);
};
export default NotFound;