diff --git a/src/App.js b/src/App.js
index 9852f32c..e7dcf8ea 100644
--- a/src/App.js
+++ b/src/App.js
@@ -11,6 +11,7 @@ import ProjectShowcase from './Page/ProjectShowcase.jsx';
import ResumeBuilder from './Page/ResumeBuilder.jsx';
import Resources from './Page/Resources.jsx';
import Discussions from './Page/Discussions.jsx';
+import NotFoundPage from './Page/NotFoundPage.jsx';
function App() {
return (
@@ -72,6 +73,8 @@ function App() {
} />
} />
} />
+ {/* Catch-all route for 404 page */}
+ } />
);
diff --git a/src/Page/NotFoundPage.jsx b/src/Page/NotFoundPage.jsx
new file mode 100644
index 00000000..b4df73d7
--- /dev/null
+++ b/src/Page/NotFoundPage.jsx
@@ -0,0 +1,37 @@
+import React from 'react';
+import { useNavigate } from 'react-router-dom';
+
+const NotFoundPage = () => {
+ const navigate = useNavigate();
+
+ const handleHomeClick = () => {
+ navigate('/');
+ };
+
+ return (
+
+
+
+ Oops! Page Not Found
+
+
+
+
+
+ );
+};
+
+export default NotFoundPage;