Skip to content

Commit

Permalink
Error Page
Browse files Browse the repository at this point in the history
  • Loading branch information
AnshumanPM committed Nov 27, 2023
1 parent 7235442 commit da652a8
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions api/templates/error.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Error 404</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
text-align: center;
}
h1 {
font-size: 6rem;
margin-bottom: 0;
color: #f44336;
}
h2 {
font-size: 2rem;
margin: 10px 0;
color: #333;
}
p {
font-size: 1rem;
color: #555;
margin: 0;
}
button {
background-color: #4CAF50;
color: #fff;
font-size: 1rem;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
margin-top: 20px;
transition: background-color 0.3s;
}
button:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="container">
<h1>404</h1>
<h2>Page Not Found</h2>
<p>Oops! The page you are looking for doesn't exist.</p>
<button onclick="goBack()">Go Back</button>
</div>
<script>
function goBack() {
window.history.back();
}
</script>
</body>
</html>

0 comments on commit da652a8

Please sign in to comment.