diff options
Diffstat (limited to 'packages/demobank-ui/src/pages/notfound/index.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/notfound/index.tsx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/demobank-ui/src/pages/notfound/index.tsx b/packages/demobank-ui/src/pages/notfound/index.tsx new file mode 100644 index 000000000..fd99259a1 --- /dev/null +++ b/packages/demobank-ui/src/pages/notfound/index.tsx @@ -0,0 +1,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't exist.</p> + <Link href="/"> + <h4>Back to Home</h4> + </Link> + </div> + ); +}; + +export default Notfound; |