diff --git a/frontend/package-lock.json b/frontend/package-lock.json index aa303b8..fe56da5 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "frontend", "version": "0.1.0", "dependencies": { "@material-ui/core": "^4.11.3", diff --git a/frontend/src/component/Main.js b/frontend/src/component/Main.js index ace04d7..839bb5f 100644 --- a/frontend/src/component/Main.js +++ b/frontend/src/component/Main.js @@ -10,7 +10,7 @@ import Home from './Home'; import Add from './link/Add'; import MainLink from './link/Main'; import Navbar from './utils/Navbar'; - +import NotFound from './utils/NotFound'; export default function Main() { const isAuthenticated = useSelector(state => state.userState.isAuthenticated) @@ -33,6 +33,8 @@ export default function Main() { + + diff --git a/frontend/src/component/utils/NotFound.js b/frontend/src/component/utils/NotFound.js new file mode 100644 index 0000000..c9a8cf0 --- /dev/null +++ b/frontend/src/component/utils/NotFound.js @@ -0,0 +1,22 @@ +import React from "react"; +import { Link } from "react-router-dom"; +import { Button } from "@material-ui/core"; + +const NotFound = () => { + return ( + + + + + 404. + This page does not exists + Looks like you're lost! please go to the homepage. + Home + + + + + ) +} + +export default NotFound \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..6c08652 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "MyCryptoLink", + "lockfileVersion": 2, + "requires": true, + "packages": {} +}
Looks like you're lost! please go to the homepage.