mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-16 16:25:49 +01:00
18 lines
440 B
TypeScript
18 lines
440 B
TypeScript
|
|
import { FunctionalComponent, h } from 'preact';
|
||
|
|
import { Link } from 'preact-router/match';
|
||
|
|
import style from './style.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;
|