-
Notifications
You must be signed in to change notification settings - Fork 2
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
71f25f1
commit 5aaeec7
Showing
1 changed file
with
128 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
<!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 href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap" rel="stylesheet"> | ||
<style> | ||
body { | ||
font-family: 'Roboto Mono', monospace; | ||
background-color: #f8f9fa; | ||
margin: 0; | ||
display: flex; | ||
flex-direction: column; | ||
height: 100vh; | ||
} | ||
|
||
/* Sticky Header */ | ||
.navbar { | ||
background-color: #28a745; | ||
padding: 10px 20px; | ||
} | ||
|
||
.navbar-brand { | ||
color: white; | ||
font-size: 20px; | ||
font-weight: bold; | ||
} | ||
|
||
.navbar-toggler { | ||
border-color: white; | ||
} | ||
|
||
.navbar-toggler-icon { | ||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); | ||
} | ||
|
||
.nav-link { | ||
color: white; | ||
font-size: 18px; | ||
margin-right: 20px; | ||
} | ||
|
||
.nav-link:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.error-container { | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center; | ||
} | ||
|
||
.error-code { | ||
font-size: 120px; | ||
font-weight: bold; | ||
color: #28a745; | ||
} | ||
|
||
.error-message { | ||
font-size: 24px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.btn-home { | ||
background-color: #28a745; | ||
color: white; | ||
padding: 10px 20px; | ||
border: none; | ||
font-size: 16px; | ||
border-radius: 5px; | ||
text-decoration: none; | ||
} | ||
|
||
.btn-home:hover { | ||
background-color: #218838; | ||
} | ||
|
||
.icon { | ||
font-size: 60px; | ||
color: #28a745; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<!-- Sticky Header with Hamburger Menu --> | ||
<nav class="navbar navbar-expand-lg sticky-top"> | ||
<a class="navbar-brand" href="index.html">Code Editor</a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarNav"> | ||
<ul class="navbar-nav ml-auto"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="index.html">Home</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="about.html">About</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="contact.html">Contact</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="login.html">Login</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
|
||
<!-- 404 Content --> | ||
<div class="error-container"> | ||
<div class="icon">🚧</div> | ||
<div class="error-code">404</div> | ||
<p class="error-message">Oops! The page you're looking for doesn't exist.</p> | ||
<a href="index.html" class="btn-home">Back to Home</a> | ||
</div> | ||
|
||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> | ||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js"></script> | ||
</body> | ||
|
||
</html> |