Add backend setup with Docker, Express, and error handling page
This commit is contained in:
55
backend/views/index.ejs
Normal file
55
backend/views/index.ejs
Normal file
@@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Oops - Something Went Wrong</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: linear-gradient(135deg, #1e3c72, #2a5298);
|
||||
font-family: Arial, sans-serif;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 1rem 2.5rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: bold;
|
||||
color: #2a5298;
|
||||
background-color: #fff;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
text-decoration: none;
|
||||
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.btn:active {
|
||||
transform: translateY(1px);
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Uuups, something went wrong 😕</h1>
|
||||
<a href="https://status.the1s.de" class="btn">Check Status Page</a>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user