2020-04-20 11:14:46 +02:00
|
|
|
import { FunctionalComponent, h } from "preact";
|
|
|
|
import { Link } from 'preact-router/match';
|
2020-04-22 22:07:52 +02:00
|
|
|
import style from "./style.module.css";
|
2020-04-20 11:14:46 +02:00
|
|
|
|
|
|
|
const Notfound: FunctionalComponent = () => {
|
|
|
|
return (
|
2020-04-20 12:24:17 +02:00
|
|
|
<div class={style.notFound}>
|
2020-04-20 11:14:46 +02:00
|
|
|
<h1>Error 404</h1>
|
|
|
|
<p>That page doesn't exist.</p>
|
|
|
|
<Link href="/"><h4>Back to Home</h4></Link>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Notfound;
|