generated from Templates_CodeFirst/templateHtmlCss
adding maintenance page
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
7b82e22061
commit
8d0156a7a9
@ -0,0 +1,7 @@
|
|||||||
|
const devMode = true; // set to false when you want to go back to your normal site
|
||||||
|
|
||||||
|
if(devMode && window.location.pathname !== '/under-dev.html'){
|
||||||
|
window.location.replace('under-dev.html');
|
||||||
|
} else if (!devMode && window.location.pathname === '/under-dev.html') {
|
||||||
|
window.location.replace('index.html');
|
||||||
|
}
|
@ -0,0 +1,93 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="fr">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link type="text/css" rel="stylesheet" href="style.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
|
||||||
|
<title>Corentin - En Construction</title>
|
||||||
|
<style>
|
||||||
|
.development-container {
|
||||||
|
text-align: center;
|
||||||
|
padding-top: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dev-message {
|
||||||
|
font-family: 'Roboto', sans-serif;
|
||||||
|
font-size: 2em;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #fff;
|
||||||
|
margin-top: 50px;
|
||||||
|
text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
.dev-submessage {
|
||||||
|
font-family: 'Roboto', sans-serif;
|
||||||
|
font-size: 1.2em;
|
||||||
|
color: #ddd;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.spinner {
|
||||||
|
margin-top: 60px;
|
||||||
|
border: 10px solid #f3f3f3;
|
||||||
|
border-top: 10px solid #3498db;
|
||||||
|
border-radius: 50%;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
animation: spin 2s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes spin {
|
||||||
|
0% { transform: rotate(0deg); }
|
||||||
|
100% { transform: rotate(360deg); }
|
||||||
|
}
|
||||||
|
|
||||||
|
.spinner {
|
||||||
|
animation: spin 2s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes spin {
|
||||||
|
0% { transform: rotate(0deg); }
|
||||||
|
100% { transform: rotate(360deg); }
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #1a1a1a;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<nav class="navbar">
|
||||||
|
<ul class="navbar-list">
|
||||||
|
<li><a href="index.html">Accueil</a></li>
|
||||||
|
<li><a href="cursus.html">Cursus</a></li>
|
||||||
|
<li><a href="planning.html">Planning</a></li>
|
||||||
|
<li class="dropdown">
|
||||||
|
<a href="#">Gallerie</a>
|
||||||
|
<ul class="dropdown-content">
|
||||||
|
<li><a href="images.html">Images</a></li>
|
||||||
|
<li><a href="videos.html">Vidéos</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="form.php">Formulaire</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<title>En Construction</title>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="development-container" style="text-align: center; padding: 20px;">
|
||||||
|
<h1 class="dev-message">Page en cours de développement</h1>
|
||||||
|
<p class="dev-message">Revenez bientôt !</p>
|
||||||
|
|
||||||
|
<div class="spinner"></div>
|
||||||
|
|
||||||
|
<p class="dev-message">Merci pour votre patience !</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
<footer>
|
||||||
|
<p style="text-align: center;">Pied de page</p>
|
||||||
|
</footer>
|
||||||
|
</html>
|
Loading…
Reference in new issue