added 404 page component

This commit is contained in:
Kristoffer Juelsenn 2022-03-29 15:24:52 +02:00
parent 4d1cacb413
commit 1e0937980e
1 changed files with 15 additions and 5 deletions

View File

@ -1,9 +1,19 @@
import * as React from "react";
import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom";
import Home from '../FrontPage';
import { Typography } from '@mui/material'
export default function NoSuchPage() {
return(
<>
<Typography type="h3">
This page does not exist
</Typography>
<Typography type="h4">
The page you are looking for does not exist or has been moved
</Typography>
<Link to="/">
Return to the home page
</Link>
</>
)
}