Started the project
							
								
								
									
										
											BIN
										
									
								
								background.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 83 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								favicon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 15 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								images/denis.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 103 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								images/denis_chapeau.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 236 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								images/denis_chemise.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 247 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								images/saint_denis.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 95 KiB  | 
							
								
								
									
										46
									
								
								index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,46 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="fr">
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="UTF-8">
 | 
			
		||||
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
			
		||||
    <title>DenisSlider2000™</title>
 | 
			
		||||
    <link rel="shortcut icon" href="favicon.png" type="image/x-icon">
 | 
			
		||||
    <link rel="stylesheet" href="style.css">
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
    <div id="title">
 | 
			
		||||
        <img src="title.gif">
 | 
			
		||||
    </div>
 | 
			
		||||
    <div id="mobile-title">
 | 
			
		||||
        <img src="title.gif">
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="swiper">
 | 
			
		||||
        <div class="swiper-wrapper">
 | 
			
		||||
            <div class="swiper-slide">
 | 
			
		||||
                <div class="photo-container">
 | 
			
		||||
                    <img src="./images/denis_chemise.png">
 | 
			
		||||
                </div> 
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="swiper-slide">
 | 
			
		||||
                <div class="photo-container">
 | 
			
		||||
                    <img src="./images/denis_chapeau.png">
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="swiper-slide">
 | 
			
		||||
                <div class="photo-container">
 | 
			
		||||
                    <img src="./images/saint_denis.png">
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="swiper-slide">
 | 
			
		||||
                <div class="photo-container">
 | 
			
		||||
                    <img src="./images/denis.png">
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
    <link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.min.css"/>
 | 
			
		||||
    <script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"></script>
 | 
			
		||||
    <script src="script.js"></script>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								mobile-title.gif
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 48 KiB  | 
							
								
								
									
										7
									
								
								script.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,7 @@
 | 
			
		||||
const swiper = new Swiper('.swiper', {
 | 
			
		||||
    direction: "horizontal",
 | 
			
		||||
    loop: true,
 | 
			
		||||
    autoplay: true,
 | 
			
		||||
    speed: 400,
 | 
			
		||||
    spaceBetween: 100,
 | 
			
		||||
});
 | 
			
		||||
							
								
								
									
										46
									
								
								style.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,46 @@
 | 
			
		||||
body {
 | 
			
		||||
    display: flex;
 | 
			
		||||
    flex-wrap: wrap;
 | 
			
		||||
    justify-content: center;
 | 
			
		||||
 | 
			
		||||
    background-size: cover;
 | 
			
		||||
    background-repeat: no-repeat;
 | 
			
		||||
    background-image: url("./background.jpg");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#title {
 | 
			
		||||
    width: 100%;
 | 
			
		||||
    display: flex;
 | 
			
		||||
    justify-content: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#mobile-title {
 | 
			
		||||
    display: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.swiper {
 | 
			
		||||
    width: 500px;
 | 
			
		||||
    height: 400px;
 | 
			
		||||
    margin-top: 20vh;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.photo-container {
 | 
			
		||||
    width: 500px;
 | 
			
		||||
    height: 400px;
 | 
			
		||||
 | 
			
		||||
    display: flex;
 | 
			
		||||
    justify-content: center;
 | 
			
		||||
    align-content: center;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@media screen and (max-width: 1024px) {
 | 
			
		||||
 | 
			
		||||
    #title {
 | 
			
		||||
        display: none;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    #mobile-title {
 | 
			
		||||
        display: block;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||