-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaintance.html
72 lines (64 loc) · 2.37 KB
/
maintance.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Coming Soon</title>
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #f7f7f7;
text-align: center;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
h1 {
color: #333;
font-size: 2em;
margin-bottom: 20px;
}
p {
color: #666;
font-size: 1.2em;
margin-bottom: 40px;
}
.countdown {
color: #ff6f61;
font-size: 1.5em;
margin-bottom: 40px;
}
</style>
</head>
<body>
<h1>Site Under Maintenance!</h1>
<p>We're working on something special behind the scenes. Stay tuned for the big reveal!</p>
<div class="countdown" id="countdown"></div>
<script>
// Set the date we're counting down to
const countDownDate = new Date("Feb 13, 2024 23:59:00").getTime(); // -------------------------------------------------------------------
// Update the countdown every 1 second
const x = setInterval(function() {
const now = new Date().getTime();
const distance = countDownDate - now;
const days = Math.floor(distance / (1000 * 60 * 60 * 24));
const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
const seconds = Math.floor((distance % (1000 * 60)) / 1000);
document.getElementById("countdown").innerHTML = `${days}d ${hours}h ${minutes}m ${seconds}s`;
if (distance < 0) {
clearInterval(x);
window.location.href = "https://kayleejohnston.xyz/bingo/foodService/food.html"; // ----------------------------------------------------------------
// https://www.kayleejohnston.xyz/maintance.html
//sites
// https://www.kayleejohnston.xyz/index.html
// https://www.kayleejohnston.xyz/bingo/bingoSelect.html
}
}, 1000);
</script>
</body>
</html>