From 32a94f04cc61c161100d3d2135aa48bc26f6148f Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Thu, 15 Aug 2024 15:29:37 -0700 Subject: [PATCH] added 404 image --- Client/src/Pages/NotFound/index.jsx | 5 +- Client/src/assets/Images/sushi_404.svg | 1735 ++++++++++++++++++++++++ 2 files changed, 1739 insertions(+), 1 deletion(-) create mode 100644 Client/src/assets/Images/sushi_404.svg diff --git a/Client/src/Pages/NotFound/index.jsx b/Client/src/Pages/NotFound/index.jsx index 8c8064882..113f3fd34 100644 --- a/Client/src/Pages/NotFound/index.jsx +++ b/Client/src/Pages/NotFound/index.jsx @@ -4,6 +4,7 @@ import React from "react"; import PropTypes from "prop-types"; import { Stack, Typography } from "@mui/material"; import { useNavigate } from "react-router"; +import NotFoundSvg from "../../../src/assets/Images/sushi_404.svg"; /** * Support for defaultProps will be removed from function components in a future major release @@ -32,12 +33,14 @@ const DefaultValue = { */ const NotFound = ({ title = DefaultValue.title, desc = DefaultValue.desc }) => { const navigate = useNavigate(); - + console.log("NOT FOUND"); return ( {title} {desc} + 404 + Oh no! You dropped your sushi!