simple-fs-server/routes/_404.tsx

26 lines
668 B
TypeScript
Raw Normal View History

2023-02-08 01:33:54 +09:00
import { Head, asset } from "$fresh/runtime.ts";
2023-01-05 18:18:07 +09:00
export default function Page404() {
return (
<>
<Head>
<title>Simple file server - 404 Not Found</title>
2023-02-08 01:33:54 +09:00
<link rel="stylesheet" href={asset("/base.css")} />
2023-01-05 18:18:07 +09:00
</Head>
<div class="p-4 mx-auto max-w-screen-md">
<img
src="/logo.svg"
class="w-32 h-32"
alt="the fresh logo: a sliced lemon dripping with juice"
/>
<p class="my-6 text-4xl">
404 Not Found.
</p>
<a href="/dir/">Go To CWD</a>
<hr></hr>
<a href="/login">Login</a> | <a href="/api/logout">Logout</a>
</div>
</>
);
}