[camélianimes] changement d'image en une
All checks were successful
camelia / deploy (push) Successful in 33s

suppression du défilement, une seule image correspondant à la série en cours, màj des crédits, source de l'image en une via saucenao
This commit is contained in:
Esenjin 2024-11-19 16:10:41 +01:00
parent db1c518809
commit 8c317028f6
11 changed files with 3 additions and 38 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 725 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1001 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 412 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 830 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 962 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 745 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

View File

@ -24,7 +24,7 @@
</header>
<div class="carousel">
<div id="carousel-container">
<img id="carousel-image" src="images/39372436_p0_master1200.jpg" alt="Carousel Image">
<img id="carousel-image" src="images/master1200.jpg" alt="Carousel Image">
<div id="overlay"></div>
</div>
<div class="carousel-text">
@ -34,31 +34,5 @@
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>

View File

@ -25,18 +25,9 @@
<div class="container">
<h1>Crédits</h1>
<p>## Sources des images utilisées sur la page d'accueil : </p>
<p>## Sources de l'image en une : </p>
<ul>
<li><a href="../images/39372436_p0_master1200.jpg">Image 1</a> - Série : <b>Kyousougiga</b>, artiste <b>B村</b>, <a href="https://www.pixiv.net/en/artworks/39372436">voir sur Pixiv</a>.</li>
<li><a href="../images/60834799_p0_master1200.jpg">Image 2</a> - Série : <b>Violet Evergarden</b>, artiste <b>Cheese慷</b>, <a href="https://www.pixiv.net/en/artworks/60834799">voir sur Pixiv</a>.</li>
<li><a href="../images/65751842_p0_master1200.jpg">Image 3</a> - Série : <b>L'Ère des Cristaux</b>, artiste <b>韭方★JoFang</b>, <a href="https://www.pixiv.net/en/artworks/65751842">voir sur Pixiv</a>.</li>
<li><a href="../images/70764381_p0_master1200.jpg">Image 4</a> - Série : <b>Sora yori mo Tooi Basho</b>, artiste <b>大宮いお</b>, <a href="https://www.pixiv.net/en/artworks/70764381">voir sur Pixiv</a>.</li>
<li><a href="../images/72278604_p0_master1200.jpg">Image 5</a> - Série : <b>Liz et l'oiseau bleu</b>, artiste <b>KuA</b>, <a href="https://www.pixiv.net/en/artworks/72278604">voir sur Pixiv</a>.</li>
<li><a href="../images/79704508_p0_master1200.jpg">Image 6</a> - Série : <b>Somali et l'esprit de la forêt</b>, artiste <b>
Psi</b>, <a href="https://www.pixiv.net/en/artworks/79704508">voir sur Pixiv</a>.</li>
<li><a href="../images/90908293_p2_master1200.jpg">Image 7</a> - Série : <b>Josée, le tigre et les poissons</b>, artiste <b>
Arudi</b>, <a href="https://www.pixiv.net/en/artworks/90908293">voir sur Pixiv</a>.</li>
<li><a href="../images/91837671_p0_master1200.jpg">Image 8</a> - Série : <b>Majo no tabitabi</b>, artiste <b>OvO</b>, <a href="https://www.pixiv.net/en/artworks/91837671">voir sur Pixiv</a>.</li>
<li><a href="http://saucenao.com/search.php?db=999&url=https://camelia-studio.org/p/camelianimes/images/master1200.jpg">Image</a> - Source via SauceNAO.</li>
</ul>
<p>## Source pour le bouton "Tout ajouter à mon agenda" :</p>
<ul>