freshter-logs/routes/_404.tsx
2023-04-28 19:48:34 -04:00

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>
);
}