narinder1231 commited on
Commit
91be1f3
·
1 Parent(s): fa86bf8

Add NotFoundPage component for handling 404 errors with user-friendly message

Browse files
Files changed (1) hide show
  1. src/pages/notFound/index.tsx +20 -0
src/pages/notFound/index.tsx ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { Box, Typography } from "@mui/material";
2
+ import React from "react";
3
+
4
+ const NotFoundPage: React.FC = () => {
5
+ return (
6
+ <Box
7
+ display="flex"
8
+ justifyContent="center"
9
+ alignItems="center"
10
+ height="100vh"
11
+ bgcolor="#f4f4f4"
12
+ >
13
+ <Typography variant="h4" color="textPrimary" fontWeight="bold">
14
+ 404 - Page Not Found
15
+ </Typography>
16
+ </Box>
17
+ );
18
+ };
19
+
20
+ export default NotFoundPage;