Leaflet Blog in Deno Fresh
1import { Title } from "../components/typography.tsx";
2import { Head } from "$fresh/runtime.ts";
3import { Layout } from "../islands/layout.tsx";
4
5export default function Error404() {
6 return (
7 <>
8 <Head>
9 <title>404 - Page not found</title>
10 </Head>
11 <Layout>
12 <div class="flex-1 flex items-center justify-center">
13 <div class="p-8 pb-20 sm:p-20 text-center">
14 <Title class="font-serif-italic text-4xl sm:text-5xl lowercase mb-6">
15 Page not found
16 </Title>
17 <p class="my-4">The page you were looking for doesn't exist.</p>
18 <a href="/" class="underline">
19 Go back home
20 </a>
21 </div>
22 </div>
23 </Layout>
24 </>
25 );
26}