-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
353 lines (332 loc) · 13.1 KB
/
index.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
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Service Status Checker</title>
<link id="manifest-link" rel="manifest" href="manifest.json">
<meta name="description" content="Service Status Checker for the web.">
<script src="JS/app.js"></script>
<link id="apple-touch-icon" rel="apple-touch-icon" href="/Service-Status-Checker/img/icons/icon-192x192.png">
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<style>
body {
background-color: black;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
height: 100vh;
margin: 0;
}
.footer {
text-align: center;
color: white;
font-family: Arial, sans-serif;
margin-top: 10px;
}
.centered-text {
text-align: center;
font-family: Arial, sans-serif;
color: white;
margin-top: 10px;
}
.button-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 10px;
}
/* TV screen */
@media (min-width: 1200px) {
.centered-text {
font-size: 42px;
}
.button {
font-size: 38px;
}
.image-button span {
font-size: 38px;
}
/* Wrap the button in an anchor tag with the href attribute */
.button a {
text-decoration: none; /* Remove underline from the link */
color: white; /* Set link text color */
display: block; /* Make the link cover the entire button */
height: 100%; /* Make the link fill the button's height */
width: 100%; /* Make the link fill the button's width */
}
}
/* Computer screen */
@media (min-width: 992px) and (max-width: 1199px) {
.centered-text {
font-size: 32px;
}
.button {
font-size: 24px;
}
.image-button span {
font-size: 24px;
}
}
/* Tablet screen or larger cellphone */
@media (min-width: 600px) and (max-width: 991px) {
.centered-text {
font-size: 22px;
}
.button {
font-size: 18px;
}
.image-button span {
font-size: 18px;
}
}
/* Smaller cellphone */
@media (max-width: 599px) {
.centered-text {
font-size: 18px;
}
.button {
font-size: 16px;
}
.image-button span {
font-size: 16px;
}
}
button {
background-color: #0024a8;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
margin: 4px 2px;
cursor: pointer;
border-radius: 12px;
transition: background-color 0.3s, transform 0.3s;
}
button::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(255, 0, 0, 0.2);
pointer-events: none;
opacity: 0;
transition: opacity 0.3s ease-in-out;
}
button:hover {
background-color: rgba(52, 79, 255, 0.848); /* Semi-white background on hover */
transform: scale(1.05); /* Slight scale-up on hover */
box-shadow: inset 0 0 0 2px rgb(255, 255, 255);
animation-name: fade;
animation-duration: 1s;
animation-iteration-count: infinite;
}
@keyframes fade {
0% {
box-shadow: inset 0 0 0 2px rgb(0, 225, 255);
}
50% {
box-shadow: inset 0 0 0 2px rgb(255, 255, 255);
}
100% {
box-shadow: inset 0 0 0 2px rgb(0, 225, 255);
}
}
/* Style for the button container */
/* Add margin to create spacing between image buttons */
.image-button {
background-color: #0024a8;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
margin: 20px; /* Adjust this value to control the spacing */
cursor: pointer;
border-radius: 12px;
transition: background-color 0.3s, transform 0.3s;
}
/* Style for the image */
.image-button img {
width: 100px;
height: 100px;
margin-right: 10px;
}
/* Hover effect */
.image-button:hover {
background-color: rgba(52, 79, 255, 0.848);
transform: scale(1.05);
box-shadow: inset 0 0 0 2px rgb(255, 255, 255);
animation-name: fade;
animation-duration: 1s;
animation-iteration-count: infinite;
}
@keyframes fade {
0% {
box-shadow: inset 0 0 0 2px rgb(0, 225, 255);
}
50% {
box-shadow: inset 0 0 0 2px rgb(255, 255, 255);
}
100% {
box-shadow: inset 0 0 0 2px rgb(0, 225, 255);
}
}
</style>
<script>
// Function to update the current date and time
function updateDateTime() {
var dateTimeElement = document.getElementById("date-time");
var currentDate = new Date();
var date = currentDate.toDateString();
var time = currentDate.toLocaleTimeString();
dateTimeElement.textContent = "Current Date: " + date + " | Current Time: " + time;
}
// Call the updateDateTime function on page load and whenever the window is resized
window.addEventListener("load", function () {
updateDateTime();
});
// Update the date and time every second
setInterval(updateDateTime, 1000);
</script>
</head>
<body>
<div class="centered-text">
<h1>Service Status Checker</h1>
<picture>
<!-- WebP image source -->
<source srcset="" type="image/webp" alt="" width="300" height="300">
<!-- Fallback image source (JPEG) -->
<img src="img/Service Status Checker Upscaled.png" alt="" alt="" width="192" height="192">
</picture>
<p>Check the status of multiple services! This is the web version of Service Status Checker.</p>
<p id="date-time">Fetching Current Date and Time...</p>
<p>Service Worker Version: v1.0.6</p>
<p>Website Last Updated: 05/19/2024</p>
</div>
<div class="centered-text">
<p>Navigation:</p>
<div class="button">
<a href="" onclick="restartPWA(), location.reload(true)" class="image-button">
<img src="img/reload.png" alt="Reload Icon">
<span>Reload Page</span>
</a>
<a href="" onclick="window.close()" class="image-button">
<img src="img/close.png" alt="Close Icon">
<span>Close Page</span>
</a>
<p>My Other Websites:</p>
<a href="https://wlhq.github.io/WLHQ/" class="image-button">
<span>WLHQ's Website</span>
</a>
</div>
<!-- Inside the <div class="centered-text"> section -->
<p>Services:</p>
<div class="button">
<a href="https://status.adguard.com/" class="image-button">
<img src="img/AdGuard.png" alt="AdGuard Logo">
<span>AdGuard</span>
</a>
<a href="https://www.apple.com/support/systemstatus/" class="image-button">
<img src="img/Apple.png" alt="Apple Logo">
<span>Apple</span>
</a>
<a href="https://status.atlassian.com/" class="image-button">
<img src="img/Atlassian.PNG" alt="Atlassian Logo">
<span>Atlassian</span>
</a>
<a href="https://status.brave.com/" class="image-button">
<img src="img/Brave.png" alt="Brave Browser Logo">
<span>Brave</span>
</a>
<a href="https://status.coveragemap.com/" class="image-button">
<img src="img/CoverageMap.png" alt="Coverage Map Logo">
<span>Coverage Map</span>
</a>
<a href="https://www.cloudflarestatus.com/" class="image-button">
<img src="img/CloudFlare.png" alt="CloudFlare Logo">
<span>CloudFlare</span>
</a>
<a href="https://discordstatus.com/" class="image-button">
<img src="img/Discord.png" alt="Discord Logo">
<span>Discord</span>
</a>
<a href="https://status.epicgames.com/" class="image-button">
<img src="img/Epic Games.png" alt="Epic Games Logo">
<span>Epic Games</span>
</a>
<a href="https://www.githubstatus.com/" class="image-button">
<img src="img/GitHub.png" alt="GitHub Logo">
<span>GitHub</span>
</a>
<a href="https://status.glideapps.com/" class="image-button">
<img src="img/Glide.png" alt="Glide Logo">
<span>Glide</span>
</a>
<a href="https://status.hirezstudios.com/" class="image-button">
<img src="img/Hi Rez Studios.png" alt="Hi Rez Studios Logo">
<span>Hi Rez Studios</span>
</a>
<a href="https://status.midjourney.com/" class="image-button">
<img src="img/Midjourney.png" alt="Midjourney Logo">
<span>Midjourney</span>
</a>
<a href="https://nintendoswitchuidemo1.statuspage.io/" class="image-button">
<img src="img/NXUIDemo.png" alt="Nintendo Switch UI Demo Logo">
<span>Nintendo Switch UI Demo</span>
</a>
<a href="https://www.nintendo.co.jp/netinfo/en_US/index.html" class="image-button">
<img src="img/Nintendo Network.png" alt="Nintendo Network Logo">
<span>Nintendo Network</span>
</a>
<a href="https://status.geforcenow.com/" class="image-button">
<img src="img/Nvidia.png" alt="Nvidia GeForce NOW Logo">
<span>Nvidia GeForce NOW</span>
</a>
<a href="https://status.openai.com/" class="image-button">
<img src="img/OpenAI.PNG" alt="OpenAI Logo">
<span>OpenAI</span>
</a>
<a href="https://status.ookla.com/" class="image-button">
<img src="img/Speedtest.png" alt="Ookla Logo">
<span>Ookla</span>
</a>
<a href="https://status.playstation.com/" class="image-button">
<img src="img/PSN.png" alt="PlayStation Network Logo">
<span>PlayStation Network</span>
</a>
<a href="https://stats.uptimerobot.com/nPQgocX0AB" class="image-button">
<img src="img/RoutineHub-2.png" alt="Routinehub Logo">
<span>Routinehub</span>
</a>
<a href="https://status.twitch.com/" class="image-button">
<img src="img/Twitch.png" alt="Twitch Logo">
<span>Twitch</span>
</a>
<a href="https://downdetector.com/status/twitter/" class="image-button">
<img src="img/Twitter.png" alt="Twitter Logo">
<span>Twitter</span>
</a>
<a href="https://github.win11react.com/status/" class="image-button">
<img src="img/Win11.png" alt="Win11React by Blueedge Logo">
<span>Win11React by Blueedge</span>
</a>
<a href="https://support.xbox.com/en-US/xbox-live-status" class="image-button">
<img src="img/Xbox.png" alt="Xbox Logo">
<span>Xbox</span>
</a>
</div>
<div class="footer">
<div id="wcb" class="carbonbadge wcb-d"></div>
<script src="https://unpkg.com/[email protected]/b.min.js" defer></script>
<p>Hosted by GitHub.</p>
</div>
</body>
</html>