guesstimate/client/src/routes/notfound/index.tsx

15 lines
409 B
TypeScript
Raw Normal View History

2020-07-09 13:00:42 +02:00
import React, { FunctionComponent } from "react";
import { Link } from 'react-router-dom';
2020-04-22 22:07:52 +02:00
import style from "./style.module.css";
2020-04-20 11:14:46 +02:00
2020-07-09 13:00:42 +02:00
const NotFound: FunctionComponent = () => {
2020-04-20 11:14:46 +02:00
return (
2020-07-09 13:00:42 +02:00
<div className={style.notFound}>
2020-04-20 11:14:46 +02:00
<h1>Error 404</h1>
<p>That page doesn't exist.</p>
2020-07-09 13:00:42 +02:00
<Link to="/"><h4>Back to Home</h4></Link>
2020-04-20 11:14:46 +02:00
</div>
);
};
2020-07-09 13:00:42 +02:00
export default NotFound;