-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (82 loc) · 4.45 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Baseflow Slider Clone</title>
<!-- Link Swiper's CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" />
<link rel="stylesheet" href="./assets/css/style.css" />
</head>
<body>
<!-- Tinyflow Swiper Slider -->
<div class="swiper tinyflow-slider" data-speed="800" data-autoplay-delay="10500">
<button type="button" aria-label="Prev" class="tinyflow-slider__arrow tinyflow-slider__arrow--prev" data-slider-arrow="prev">
<svg width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16 8H2" stroke="currentColor" stroke-width="1.5"/>
<path d="M9 15L2 8L9 1" stroke="currentColor" stroke-width="1.5"/>
</svg>
</button>
<button type="button" aria-label="Next" class="tinyflow-slider__arrow tinyflow-slider__arrow--next" data-slider-arrow="next">
<svg width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 8H14" stroke="currentColor" stroke-width="1.5"/>
<path d="M7 15L14 8L7 1" stroke="currentColor" stroke-width="1.5"/>
</svg>
</button>
<div class="swiper-wrapper">
<div class="swiper-slide">
<figure class="card">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
<img src="https://source.unsplash.com/random/300x400/?city&1" alt="city" class="card__bg" loading="lazy" draggable="false" />
</figure>
</div>
<div class="swiper-slide">
<figure class="card">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
<img src="https://source.unsplash.com/random/300x400/?city&2" alt="city" class="card__bg" loading="lazy" draggable="false" />
</figure>
</div>
<div class="swiper-slide">
<figure class="card">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
<img src="https://source.unsplash.com/random/300x400/?city&3" alt="city" class="card__bg" loading="lazy" draggable="false" />
</figure>
</div>
<div class="swiper-slide">
<figure class="card">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
<img src="https://source.unsplash.com/random/300x400/?city&4" alt="city" class="card__bg" loading="lazy" draggable="false" />
</figure>
</div>
<div class="swiper-slide">
<figure class="card">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
<img src="https://source.unsplash.com/random/300x400/?city&5" alt="city" class="card__bg" loading="lazy" draggable="false" />
</figure>
</div>
<div class="swiper-slide">
<figure class="card">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
<img src="https://source.unsplash.com/random/300x400/?city&6" alt="city" class="card__bg" loading="lazy" draggable="false" />
</figure>
</div>
<div class="swiper-slide">
<figure class="card">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
<img src="https://source.unsplash.com/random/300x400/?city&7" alt="city" class="card__bg" loading="lazy" draggable="false" />
</figure>
</div>
<div class="swiper-slide">
<figure class="card">
<div class="swiper-lazy-preloader swiper-lazy-preloader-white"></div>
<img src="https://source.unsplash.com/random/300x400/?city&8" alt="city" class="card__bg" loading="lazy" draggable="false" />
</figure>
</div>
</div>
<div class="tinyflow-slider__pagination"></div>
</div>
<!-- Swiper JS -->
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script src="./assets/js/script.js"></script>
</body>
</html>