-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
update.html
178 lines (155 loc) · 4.88 KB
/
update.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
<!DOCTYPE html>
<html><head><base href="https://ventistudio.fr/update">
<meta charset="utf-8">
<meta name="viewport">
<html lang="fr"></html>
<link rel="icon" type="image/png" href="favicon.ico">
<meta property="og:title" content="Bienvenu sur VentiStudio">
<meta property="og:site_name" content="VentiStudio Komiyuniti">
<meta property="og:url" content="https://ventistudio.fr">
<meta property="og:description" content="Hey, je suis Hikari Umaishi (光馬石), mais je préfère que l'on m'appelle Hiuma (ヒウマ).
Laissez-moi vous présenter ma communauté, un espace où l'art et la créativité se rencontrent.">
<meta property="og:type" content="website">
<meta property="og:image" content="https://ventistudio.fr/favicon.gif">
<title>VentiStudio - Update</title>
<style>
:root {
--primary: #7B66FF;
--secondary: #2A2D3A;
--background: #1A1B26;
--text: #FFFFFF;
--hover: #9F86FF;
--accent1: #414868;
--accent2: #565f89;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Space+Grotesk:wght@500;700&display=swap');
body {
margin: 0;
padding: 0;
font-family: 'Inter', sans-serif;
background-color: var(--background);
color: var(--text);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.maintenance-container {
text-align: center;
padding: 2rem;
max-width: 800px;
animation: fadeIn 1s ease-in;
}
.logo {
width: 150px;
height: auto;
margin-bottom: 2rem;
animation: pulse 2s ease-in-out infinite;
}
h1 {
font-family: 'Space Grotesk', sans-serif;
font-size: 2.5rem;
margin-bottom: 1rem;
background: linear-gradient(45deg, var(--primary), var(--hover));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.message {
font-size: 1.2rem;
margin-bottom: 2rem;
line-height: 1.6;
}
.progress-container {
width: 300px;
height: 10px;
background: var(--secondary);
border-radius: 5px;
margin: 2rem auto;
overflow: hidden;
}
.progress-bar {
height: 100%;
background: linear-gradient(90deg, var(--primary), var(--hover));
width: 20%;
border-radius: 5px;
animation: progress 2s ease-in-out infinite;
}
.status {
font-size: 1rem;
color: var(--accent2);
margin-top: 1rem;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
@keyframes progress {
0% { transform: translateX(-100%); }
100% { transform: translateX(500%); }
}
.return-time {
margin-top: 2rem;
padding: 1rem;
background: var(--secondary);
border-radius: 10px;
display: inline-block;
}
@media screen and (max-width: 768px) {
.maintenance-container {
padding: 1rem;
}
h1 {
font-size: 2rem;
}
.message {
font-size: 1rem;
}
.progress-container {
width: 250px;
}
}
</style>
</head>
<body>
<div class="maintenance-container">
<img src="/favicon.avif" alt="VentiStudio Logo" class="logo">
<h1>Maintenance en cours</h1>
<div class="message">
Nous effectuons actuellement une maintenance planifiée pour améliorer nos services.<br>
Merci de votre patience et de votre compréhension.
</div>
<div class="progress-container">
<div class="progress-bar"></div>
</div>
<div class="status">Mise à jour des systèmes en cours...</div>
<div class="return-time">
Temps estimé de retour : <span id="countdown">--:--:--</span>
</div>
</div>
<script>
// Set maintenance end time (1 hour from now by default)
const endTime = new Date(new Date().getTime() + 60 * 60 * 1000);
function updateCountdown() {
const now = new Date().getTime();
const distance = endTime - now;
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 =
`${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`;
if (distance < 0) {
clearInterval(countdownInterval);
document.getElementById('countdown').innerHTML = "Bientôt de retour!";
}
}
const countdownInterval = setInterval(updateCountdown, 1000);
updateCountdown();
</script>
</body>
</html>