diff --git a/src/App.jsx b/src/App.jsx index 74bc564..914d513 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,8 +1,8 @@ import React from "react"; import Homepage from "./pages/Homepage"; import Navbar from "./components/Navbar"; -import Team from "./pages/Team" -import Contacts from "./pages/Contacts" +import Team from "./pages/Team"; +import Contacts from "./pages/Contacts"; import About from "./pages/AboutOrg"; import Buiding from "./pages/Buiding"; import ReactDOM from "react-dom/client"; @@ -11,8 +11,8 @@ import Faqs from "./pages/Faqs"; import Resources from "./pages/Resources"; import Privacy from "./pages/Privacy"; import Frontends from "./pages/FrontEnds"; -import HTMLCSS from "./pages/Frontend/HTMLCSS" -import JS from "./pages/Frontend/JSc" +import HTMLCSS from "./pages/Frontend/HTMLCSS"; +import JS from "./pages/Frontend/JSc"; import Eletron from "./pages/Frontend/Eletron"; import Reactjs from "./pages/Frontend/Reactjs"; import Next__js from "./pages/Frontend/Next__js"; @@ -24,33 +24,35 @@ import Three__js from "./pages/Frontend/Three__js"; // import About from './components/About' // import AboutOrg from "./pages/AboutOrg"; import { BrowserRouter, Routes, Route } from "react-router-dom"; +import PageNotFound from "./pages/PageNotFound"; -const root = ReactDOM.createRoot(document.getElementById('root')); +const root = ReactDOM.createRoot(document.getElementById("root")); root.render(); function App() { - return ( + return ( }> }> - }> - }> - }> - }> - }> - }> - }> - }> - }> - }> - }> - }> - }> - }> - }> - }> - }> + }> + }> + }> + }> + }> + }> + }> + }> + }> + }> + }> + }> + }> + }> + }> + }> + }> + }> ); @@ -58,8 +60,9 @@ function App() { export default App; - -{/* +{ + /* - */} \ No newline at end of file + */ +} diff --git a/src/assets/img/page_not_found_img/404-error.png b/src/assets/img/page_not_found_img/404-error.png new file mode 100644 index 0000000..bc8ffb2 Binary files /dev/null and b/src/assets/img/page_not_found_img/404-error.png differ diff --git a/src/pages/PageNotFound.jsx b/src/pages/PageNotFound.jsx new file mode 100644 index 0000000..7c2fb3f --- /dev/null +++ b/src/pages/PageNotFound.jsx @@ -0,0 +1,23 @@ +import { Link } from "react-router-dom"; + +function PageNotFound() { + return ( +
+ 404-page-not-found +

+ Sorry the page you are looking for does not exist. +

+ + +
+ ); +} + +export default PageNotFound;