16 lines
409 B
TypeScript
16 lines
409 B
TypeScript
|
import { UnknownPageProps } from "$fresh/server.ts";
|
||
|
|
||
|
export default function NotFoundPage({ url }: UnknownPageProps) {
|
||
|
return (
|
||
|
<div>
|
||
|
<p>404 not found: {url.pathname}</p>
|
||
|
<a
|
||
|
href="/"
|
||
|
className="font-medium text-blue-600 dark:text-blue-500 hover:underline"
|
||
|
>
|
||
|
go back home
|
||
|
</a>
|
||
|
</div>
|
||
|
);
|
||
|
}
|