-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
maintenance.html
68 lines (67 loc) · 1.7 KB
/
maintenance.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
<!DOCTYPE html>
<html>
<head>
<title>Site Maintenance</title>
<meta http-equiv="refresh" content="5;url=https://langx.io" />
<style>
body {
text-align: center;
padding: 150px;
font: 20px Helvetica, sans-serif;
color: #333;
}
article {
display: block;
text-align: left;
width: 650px;
margin: 0 auto;
}
a {
color: #dc8100;
text-decoration: none;
}
a:hover {
color: #333;
text-decoration: none;
}
#dropdown {
display: none;
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
padding: 12px 16px;
z-index: 1;
}
</style>
</head>
<body>
<article>
<h1>We’ll be back soon!</h1>
<div>
<p>
Sorry for the inconvenience but we’re performing some
maintenance at the moment. If you need to you can always
<a href="mailto:[email protected]">contact us</a>, otherwise we’ll be
back online shortly!
</p>
<p>—LangX The Team</p>
</div>
</article>
<div id="dropdown">
You will be redirected to <a href="https://langx.io">langx.io</a> shortly.
</div>
<script>
window.onload = function () {
var dropdown = document.getElementById("dropdown");
dropdown.style.display = "block";
setTimeout(function () {
dropdown.style.display = "none";
}, 4500); // Hide dropdown just before redirect
};
</script>
</body>
</html>