-
Notifications
You must be signed in to change notification settings - Fork 1
/
502.html
305 lines (275 loc) · 8.16 KB
/
502.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
<!-- Save this as /usr/share/nginx/html/502.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<!--______________________________START OF LOADING AND NOSCRIPT____________________________________-->
<style media="screen" type="text/css">
.layer1_class {
position: absolute;
z-index: 1;
top: 100px;
left: 0px;
visibility: visible;
}
.layer2_class {
position: absolute;
z-index: 2;
top: 10px;
left: 10px;
visibility: hidden;
}
.loader {
position: fixed;
background-color: black;
opacity: 1;
height: 100%;
width: 100%;
top: 0;
left: 0%;
z-index: 999999988;
pointer-events: none;
}
.loaderr-container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
/* To stack spinner and text vertically */
height: 100vh;
/* Full viewport height to ensure vertical centering */
}
.loaderr {
width: 100px;
height: 100px;
border-radius: 50%;
border: 8px solid transparent;
border-top: 8px solid #3498db;
border-right: 8px solid #e74c3c;
border-bottom: 8px solid #f1c40f;
border-left: 8px solid #9b59b6;
-webkit-animation: spin 1.5s linear infinite;
animation: spin 1.5s linear infinite;
box-shadow: 0 0 15px rgba(52, 152, 219, 0.7), 0 0 15px rgba(231, 76, 60, 0.7), 0 0 15px rgba(241, 196, 15, 0.7), 0 0 15px rgba(155, 89, 182, 0.7);
position: relative;
}
.loaderr:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
border: 8px solid transparent;
border-top: 8px solid rgba(52, 152, 219, 0.7);
border-right: 8px solid rgba(231, 76, 60, 0.7);
border-bottom: 8px solid rgba(241, 196, 15, 0.7);
border-left: 8px solid rgba(155, 89, 182, 0.7);
-webkit-animation: spin-reverse 1.5s linear infinite;
animation: spin-reverse 1.5s linear infinite;
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@-webkit-keyframes spin-reverse {
0% {
-webkit-transform: rotate(360deg);
}
100% {
-webkit-transform: rotate(0deg);
}
}
@keyframes spin-reverse {
0% {
transform: rotate(360deg);
}
100% {
transform: rotate(0deg);
}
}
/* Loading text animation */
.loading-text {
margin-top: 20px;
font-size: 18px;
color: #3498db;
font-family: Arial, sans-serif;
letter-spacing: 2px;
animation: pulse 1.5s infinite ease-in-out;
}
@keyframes pulse {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}
@-webkit-keyframes load-out {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes load-out {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
</style>
<!-- Styles for the No-JavaScript message -->
<style>
.no-js-message {
background: #2c4762;
color: red;
font-size: 20px;
text-align: center;
padding: 20px;
z-index: 999999999999999999999999999999999999999999999;
position: fixed;
width: 100%;
top: 0;
}
</style>
<!-- No-JavaScript message -->
<noscript>
<div class="no-js-message">
Please enable JavaScript to use this website properly.
</div>
</noscript>
<div class="loader">
<div class="loaderr-container">
<div class="loaderr"></div>
<div class="loading-text">Loading...</div>
</div>
</div>
</div>
<script>
// This function will execute after the full page has finished loading
window.onload = function () {
// Trigger fade-out animation for the loader
document.querySelector('.loaderr').style.animation = 'load-out 1.5s forwards, spin 2s linear infinite';
document.querySelector('.loaderr').style.webkitAnimation = 'load-out 1.5s forwards, spin 2s linear infinite';
document.querySelector('.loading-text').style.animation = 'load-out 1.5s forwards, spin 2s linear infinite';
document.querySelector('.loading-text').style.webkitAnimation = 'load-out 1.5s forwards, spin 2s linear infinite';
document.querySelector('.loader').style.animation = 'load-out 4s forwards';
document.querySelector('.loader').style.webkitAnimation = 'load-out 4s forwards';
}
</script>
<!--______________________________END OF LOADING AND NOSCRIPT____________________________________-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>502 Bad Gateway</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f8d7da;
text-align: center;
padding: 50px;
}
h1 {
font-size: 50px;
color: #721c24;
}
p {
font-size: 18px;
color: #856404;
}
.container {
max-width: 600px;
margin: 0 auto;
background: #fff;
padding: 40px;
border-radius: 8px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
img {
max-width: 100%;
height: auto;
margin: 20px 0;
}
.refresh-button {
background-color: #007bff;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
font-size: 16px;
}
.refresh-button:hover {
background-color: #0056b3;
}
.funny-text {
font-size: 14px;
color: #666;
margin-top: 20px;
}
</style>
<style>
/* logo */
.logo {
position: absolute;
z-index: 1;
top: 5%; /* Adjust top position relative to viewport height */
left: 5%; /* Adjust left position relative to viewport width */
display: block;
}
.logo img {
height: 10vw; /* Adjust height relative to viewport width */
max-height: 140px; /* Set a maximum height to prevent the logo from getting too large on larger screens */
width: auto; /* Maintain aspect ratio */
}
/* Media query for small devices */
@media (max-width: 600px) {
.logo img {
height: 20vw; /* Larger logo for smaller devices */
}
}
</style>
</head>
<body>
<div id="inner-wrap">
<div class="logo" style="z-index: 2;">
<a href="/">
<img src="images/logo/logo.png"> <!--https://images.unlim8ted.com/logo/logo.png-->
</a>
</div>
<div class="container">
<h1>502 Bad Gateway</h1>
<p>Looks like something went wrong between the servers. Again. 🙄</p>
<img src="https://via.placeholder.com/400x200" alt="Error Image">
<p>But don't worry, you can try refreshing the page or come back later when the servers are in a better mood!</p>
<a href="javascript:location.reload()" class="refresh-button">Refresh the Page</a>
<a href="javascript:history.back()" class="refresh-button">Go backwards in time?</a>
<p class="funny-text">If refreshing doesn’t help, maybe go make a cup of tea? ☕</p>
</div>
</body>
<!-- Copyright -->
<div style="margin-top: 20px;">
<p>© 2024 Unlim8ted Studio Productions. All rights reserved.</p>
</div>
</div>
</html>