mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
This fixes a glitch where the theme change button would stop working on client route change.
22 lines
647 B
TypeScript
22 lines
647 B
TypeScript
import { NextPage } from 'next';
|
|
import Head from 'next/head';
|
|
|
|
const ServerErrorPage: NextPage = () => {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>500 Internal Server Error</title>
|
|
<meta name="description" content="500 Internal Server Error" />
|
|
</Head>
|
|
<div className="mx-2 flex h-full flex-col items-center justify-center text-center lg:mx-0">
|
|
<h1 className="text-2xl font-bold lg:text-4xl">500: Something Went Wrong</h1>
|
|
<h2 className="text-lg font-bold">
|
|
Please try again later or contact us if the problem persists.
|
|
</h2>
|
|
</div>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default ServerErrorPage;
|