deno.land / x / fresh@1.1.1 / www / routes / _404.tsx

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import LemonDrop from "../islands/LemonDrop.tsx";
export function ServerCodePage( props: { serverCode: number; codeDescription: string },) { return ( <> <section> <div class="w-full flex justify-center items-center flex-col bg-green-300"> <LemonDrop /> </div> <div class="text-center"> <h1 class="text(6xl) md:text(9xl) font-extrabold"> {props.serverCode} </h1>
<p class="p-4 text(2xl) md:text(3xl)"> {props.codeDescription} </p>
<p class="p-4"> <a href="/" class="hover:underline">Back to the Homepage</a> </p> </div> </section> </> );}
export default function PageNotFound() { return ServerCodePage({ serverCode: 404, codeDescription: "Couldn't find what you're looking for.", });}
fresh

Version Info

Tagged at
a year ago