-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Shreyaa173:master' into signup
- Loading branch information
Showing
4 changed files
with
148 additions
and
4 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
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,62 @@ | ||
/* Error.css */ | ||
|
||
.error-section { | ||
padding: 40px; | ||
background-color: white; | ||
} | ||
|
||
.error-container { | ||
text-align: center; | ||
} | ||
|
||
.error-image { | ||
height: 500px; | ||
background-size: cover; | ||
background-position: center; | ||
background-image: url('https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif'); | ||
} | ||
|
||
.error-title { | ||
font-size: 2rem; | ||
font-weight: 800; | ||
color: black; | ||
} | ||
|
||
@media (min-width: 1024px) { | ||
.error-title { | ||
font-size: 3.75rem; | ||
} | ||
} | ||
|
||
.error-content { | ||
margin-top: -3rem; | ||
} | ||
|
||
.error-subtitle { | ||
font-size: 2.5rem; | ||
margin-bottom: 0.25rem; | ||
font-weight: 600; | ||
} | ||
|
||
.error-description { | ||
font-weight: 600; | ||
} | ||
|
||
.error-home-button { | ||
padding: 13px 40px; | ||
font-size: 1.125rem; | ||
background-color: #3ccf4e; | ||
/* Caribbean Green */ | ||
color: white; | ||
margin-top: 20px; | ||
margin-bottom: 20px; | ||
display: inline-block; | ||
border-radius: 9999px; | ||
font-weight: 600; | ||
text-decoration: none; | ||
transition: background-color 0.3s; | ||
} | ||
|
||
.error-home-button:hover { | ||
background-color: #34a853; | ||
} |
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,35 @@ | ||
/** @format */ | ||
|
||
import React from "react"; | ||
import { Link } from "react-router-dom"; | ||
import "./Error.css"; // Import the custom CSS file | ||
|
||
const Error = () => { | ||
return ( | ||
<section className="error-section"> | ||
<div> | ||
<div className="error-container"> | ||
<div className="error-image"> | ||
<h1 className="error-title">404 - Page Not Found !!</h1> | ||
</div> | ||
|
||
<div className="error-content" style={{"color": "black"}}> | ||
<h3 className="error-subtitle">Look like you're lost</h3> | ||
|
||
<p className="error-description"> | ||
The page you are looking for not available! | ||
</p> | ||
|
||
<Link | ||
to="/" | ||
className="error-home-button"> | ||
Home | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default Error; |