aboutsummaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/pages/notfound/index.tsx
blob: fd99259a167232b08f1c1868f3d8fe45ccb64682 (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&apos;t exist.</p>
      <Link href="/">
        <h4>Back to Home</h4>
      </Link>
    </div>
  );
};

export default Notfound;