-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa43c55
commit d946c77
Showing
9 changed files
with
152 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
.notfound-container { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
height: 100vh; | ||
text-align: center; | ||
background: rgba(0, 0, 0, 0.85); /* Darker background for contrast */ | ||
backdrop-filter: blur(15px); /* Increased blur effect */ | ||
color: white; | ||
} | ||
|
||
.notfound-header { | ||
margin-bottom: 30px; | ||
} | ||
|
||
.notfound-content { | ||
background: rgba(255, 255, 255, 0.1); /* Slight background for content */ | ||
padding: 40px; | ||
border-radius: 15px; /* Rounded corners for content box */ | ||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); /* Deeper shadow for depth */ | ||
} | ||
|
||
.notfound-content h1 { | ||
font-size: 120px; | ||
line-height: 1; | ||
margin: 0; | ||
color: #007bff; /* Blue color for the number 404 */ | ||
} | ||
|
||
.notfound-content h2 { | ||
font-size: 28px; | ||
margin: 10px 0; | ||
} | ||
|
||
.notfound-content p { | ||
font-size: 16px; | ||
line-height: 1.6; | ||
} | ||
|
||
.home-link { | ||
display: inline-block; | ||
margin-top: 20px; | ||
padding: 10px 20px; | ||
background-color: #007bff; | ||
color: #fff; | ||
text-decoration: none; | ||
border-radius: 5px; | ||
transition: background-color 0.3s; | ||
} | ||
|
||
.home-link:hover { | ||
background-color: #0056b3; | ||
} | ||
|
||
@media only screen and (max-width: 600px) { | ||
.notfound-content h1 { | ||
font-size: 60px; | ||
} | ||
|
||
.notfound-content h2 { | ||
font-size: 22px; | ||
} | ||
|
||
.notfound-content { | ||
width: 90%; /* Adjust width for mobile */ | ||
padding: 20px; /* Less padding on mobile */ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from 'react'; | ||
import './404Page.css'; | ||
|
||
const NotFoundPage = () => { | ||
return ( | ||
<div className="notfound-container"> | ||
<div className="notfound-content"> | ||
<div className="notfound-header"> | ||
<h1>404</h1> | ||
<h2>Oops! Page not found.</h2> | ||
</div> | ||
<p>Sorry, the page you're looking for doesn't exist. If you think something is broken, report a problem.</p> | ||
<a href="/" className="home-link">Return Home</a> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default NotFoundPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -283,8 +283,7 @@ body { | |
overflow: auto; | ||
} | ||
|
||
|
||
.navbar { | ||
display: none; /* Hide the navbar on phone screens */ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters