64 lines
2.4 KiB
HTML
64 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<title>Camélianimes</title>
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta property="og:title" content="Camélianimes">
|
|
<meta property="og:image" content="https://camelia-studio.org/p/camelianimes/images/B27AB0.gif">
|
|
<meta property="og:description" content="Séances de visionnage d'animés, organisées par l'association Camélia Studio sur son serveur Discord https://discord.gg/nBuZ9vJ.">
|
|
<link rel="stylesheet" href="style.css">
|
|
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<nav>
|
|
<a href="index.html" style="color: #7289da;">Accueil</a>
|
|
<a href="pages/infos.html">Informations</a>
|
|
<a href="pages/liste.html">Liste</a>
|
|
<a href="pages/calendrier.html">Calendrier</a>
|
|
<a href="pages/credits.html">Crédits</a>
|
|
</nav>
|
|
</header>
|
|
<div class="carousel">
|
|
<div id="carousel-container">
|
|
<img id="carousel-image" src="images/39372436_p0_master1200.jpg" alt="Carousel Image">
|
|
<div id="overlay"></div>
|
|
</div>
|
|
<div class="carousel-text">
|
|
<h1>Camélianimes</h1>
|
|
<p>Viens regarder avec nous, chaque lundi à 22h00, l'animé sélectionné !<br>
|
|
En ce moment c'est « <b>86: Eighty Six</b> ».<br>
|
|
Viens discuter de cela avec nous <a href="https://discord.gg/nBuZ9vJ" target="_blank">sur notre serveur Discord</a>.</p>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
const images = [
|
|
"images/39372436_p0_master1200.jpg",
|
|
"images/60834799_p0_master1200.jpg",
|
|
"images/70764381_p0_master1200.jpg",
|
|
"images/72278604_p0_master1200.jpg",
|
|
"images/79704508_p0_master1200.jpg",
|
|
"images/90908293_p2_master1200.jpg",
|
|
"images/91837671_p0_master1200.jpg",
|
|
"images/65751842_p0_master1200.jpg"
|
|
];
|
|
let currentIndex = 0;
|
|
const carouselImage = document.getElementById("carousel-image");
|
|
const overlay = document.getElementById("overlay");
|
|
function changeImage() {
|
|
overlay.style.opacity = 1;
|
|
setTimeout(() => {
|
|
currentIndex = (currentIndex + 1) % images.length;
|
|
carouselImage.src = images[currentIndex];
|
|
setTimeout(() => {
|
|
overlay.style.opacity = 0;
|
|
}, 400);
|
|
}, 800);
|
|
}
|
|
setInterval(changeImage, 4000);
|
|
</script>
|
|
</body>
|
|
</html> |