Update carousel to include opacity animation

Refactored slide navigation to integrate smooth fade animations using opacity changes. Introduced `carouselOpacity` and `triggerAnimation` to manage animation state, and replaced direct slide index changes with the `setSlide` method for improved modularity. Updated HTML and SCSS to support the new animation behavior.
This commit is contained in:
2025-04-06 00:03:35 +02:00
parent 6f3445dc01
commit 849f09d10a
3 changed files with 27 additions and 10 deletions
@@ -216,10 +216,6 @@ main .container {
border-radius: 5px;
}
.display > span {
animation: fadein 1.5s;
}
.display > span {
width: 700px;
height: 400px;