Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create 404.html - Error404 Page #505

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 - Page Not Found</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<style>
body {
background-color: #2c2c2c; /* Dark background color */
color: #f1f1f1; /* Light text color */
}

.container {
display: flex;
justify-content: center;
height: 100vh;
align-items: center;
width: 100%;
}

.bg-image {
height: 400px;
width: 500px;
background-position: center;
background-size: cover;
background-image: url('https://cdn.dribbble.com/users/1879428/screenshots/3894567/media/fe1acc660a01fb84e9ad7d5cf07be278.gif');
}

.text-center {
text-align: center;
}

.fw-semibold {
font-weight: 600;
}

.btn-success {
background-color: #28a745;
}

.btn-lg {
padding: 10px 20px;
font-size: 1.25rem;
}

.dark-bg {
background-color: #333; /* Slightly lighter dark for the content box */
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
</style>
</head>

<body>
<section class="bg-dark">
<div class="container">
<div class="text-center dark-bg">
<div class="bg-image"></div>
<div class="mt-3">
<h3 class="display-6 mb-1 fw-semibold">Looks like you're lost in Space</h3>
<p class="fw-semibold">The page you are looking for is not available!</p>
<a href="/" class="btn btn-success btn-lg my-4">Home</a>
</div>
</div>
</div>
</section>
</body>

</html>