diff --git a/frontend/src/App.js b/frontend/src/App.js index 349dbaa..84633f4 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -11,6 +11,7 @@ import HomePage from './pages/Home'; import AboutPage from './pages/AboutPage'; import DocumentationPage from './pages/DocumentationPage'; import ContributorsPage from './pages/ContributorsPage'; +import NotFoundPage from './pages/NotFoundPage'; import './App.css'; function App() { @@ -97,6 +98,10 @@ function App() { path="/contributors" element={} /> + } + /> diff --git a/frontend/src/pages/NotFoundPage.jsx b/frontend/src/pages/NotFoundPage.jsx new file mode 100644 index 0000000..ab891e4 --- /dev/null +++ b/frontend/src/pages/NotFoundPage.jsx @@ -0,0 +1,53 @@ +import { Link } from "react-router-dom"; +import { AlertCircle, Cpu, ArrowLeft } from "lucide-react"; + +const NotFoundPage = ({ theme }) => { + const isDark = theme === "dark"; + + return ( +
+ {/* Floating icons for tech vibe */} +
+ +
+
+ +
+ + {/* Main content */} +
+

404

+

+ Uh-oh! This algorithm didn't find a solution here. +

+

+ Looks like this page isn't in the visualization. Try going back and + exploring! +

+ + + Go Back to Visualizer + +
+
+ ); +}; + +export default NotFoundPage;