added 404 page component
This commit is contained in:
parent
4d1cacb413
commit
1e0937980e
|
@ -1,9 +1,19 @@
|
||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom";
|
import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom";
|
||||||
import Home from '../FrontPage';
|
import { Typography } from '@mui/material'
|
||||||
|
|
||||||
export default function NoSuchPage() {
|
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>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
Loading…
Reference in New Issue