From dd0b6da37ea56a07510715ca4c925cd4b3cdd15d Mon Sep 17 00:00:00 2001 From: erbhuwan Date: Fri, 3 Oct 2025 22:20:40 +0545 Subject: [PATCH 1/2] feat: add themed 404 NotFound page --- frontend/src/App.js | 5 +++ frontend/src/pages/NotFoundPage.jsx | 58 +++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 frontend/src/pages/NotFoundPage.jsx 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..d42d7f5 --- /dev/null +++ b/frontend/src/pages/NotFoundPage.jsx @@ -0,0 +1,58 @@ +import { Link } from "react-router-dom"; +import { Code, 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; From 08042e122a58f7b73a846b0fa2b136abb00b4256 Mon Sep 17 00:00:00 2001 From: erbhuwan Date: Fri, 3 Oct 2025 22:32:12 +0545 Subject: [PATCH 2/2] fix: overlapping issue of icons fixed in not found page --- frontend/src/pages/NotFoundPage.jsx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/frontend/src/pages/NotFoundPage.jsx b/frontend/src/pages/NotFoundPage.jsx index d42d7f5..ab891e4 100644 --- a/frontend/src/pages/NotFoundPage.jsx +++ b/frontend/src/pages/NotFoundPage.jsx @@ -1,5 +1,5 @@ import { Link } from "react-router-dom"; -import { Code, AlertCircle, Cpu, ArrowLeft } from "lucide-react"; +import { AlertCircle, Cpu, ArrowLeft } from "lucide-react"; const NotFoundPage = ({ theme }) => { const isDark = theme === "dark"; @@ -14,20 +14,15 @@ const NotFoundPage = ({ theme }) => { > {/* Floating icons for tech vibe */}
-
-
+
-
- -
{/* Main content */}