blob: 4e74d1d9f0f51b6b6238195a0234a00f75e4ac30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { FunctionalComponent, h } from 'preact';
import { Link } from 'preact-router/match';
const Notfound: FunctionalComponent = () => {
return (
<div>
<h1>Error 404</h1>
<p>That page doesn't exist.</p>
<Link href="/">
<h4>Back to Home</h4>
</Link>
</div>
);
};
export default Notfound;
|