15 lines
411 B
TypeScript
15 lines
411 B
TypeScript
import { FunctionalComponent, h } from "preact";
|
|
import { Link } from 'preact-router/match';
|
|
import style from "./style.module.css";
|
|
|
|
const Notfound: FunctionalComponent = () => {
|
|
return (
|
|
<div class={style.notFound}>
|
|
<h1>Error 404</h1>
|
|
<p>That page doesn't exist.</p>
|
|
<Link href="/"><h4>Back to Home</h4></Link>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default Notfound; |