guesstimate/src/routes/notfound/index.tsx

15 lines
409 B
TypeScript
Raw Normal View History

2020-04-20 11:14:46 +02:00
import { FunctionalComponent, h } from "preact";
import { Link } from 'preact-router/match';
import * as style from "./style.css";
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;