This takes part of the work being done in #96 that was reverted but still useful. Note Tailwind and Fresh weren't upgraded because there's no security vulnerability in either, and I have found the new versions to be worse in performance. Thos will likely stay at those fixed versions going forward.
20 lines
459 B
TypeScript
20 lines
459 B
TypeScript
import { Head } from 'fresh/runtime.ts';
|
|
|
|
export default function Error404() {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>404 - Page not found</title>
|
|
</Head>
|
|
<main>
|
|
<section class='max-w-screen-md mx-auto flex flex-col items-center justify-center'>
|
|
<p class='my-4'>
|
|
The page you were looking for doesn't exist.
|
|
</p>
|
|
<a href='/'>Go back home</a>
|
|
</section>
|
|
</main>
|
|
</>
|
|
);
|
|
}
|