-
Notifications
You must be signed in to change notification settings - Fork 1
/
home.html
333 lines (328 loc) · 14.4 KB
/
home.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Codeflix</title>
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/fontawesome-free/all.min.css">
<link rel="stylesheet" href="assets/css/app.css">
<link rel="stylesheet" href="assets/fontawesome-free-6.6.0-web/css/all.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"/>
</head>
<body>
<nav class="navbar fixed-top navbar-expand-lg bg-body-nav">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation">
<!-- <span class="navbar-toggler-icon"></span> -->
<i class="fa-solid fa-bars text-white"></i>
</button>
<a class="navbar-brand" href="#">
<img class="navbar-icon" src="assets/img/codeflix logo.png" alt="">
</a>
<div class="collapse navbar-collapse" id="navbarTogglerDemo03">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item dropdown kategori-dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
KATEGORI
</a>
<div class="dropdown-menu">
<ul>
<li><a class="dropdown-item" href="category.html">Action</a></li>
<li><a class="dropdown-item" href="#">Anime</a></li>
<li><a class="dropdown-item" href="#">Classic</a></li>
<li><a class="dropdown-item" href="#">Comedies</a></li>
<li><a class="dropdown-item" href="#">Crime</a></li>
<li><a class="dropdown-item" href="#">Documenteries</a></li>
<li><a class="dropdown-item" href="#">Drama</a></li>
</ul>
<ul>
<li><a class="dropdown-item" href="#">Fantasy</a></li>
<li><a class="dropdown-item" href="#">Hollywood</a></li>
<li><a class="dropdown-item" href="#">Horror</a></li>
<li><a class="dropdown-item" href="#">Independent</a></li>
<li><a class="dropdown-item" href="#">Indonesia</a></li>
<li><a class="dropdown-item" href="#">Kids & Family</a></li>
<li><a class="dropdown-item" href="#">Korean</a></li>
</ul>
<ul>
<li><a class="dropdown-item" href="#">Musicals</a></li>
<li><a class="dropdown-item" href="#">Romance</a></li>
<li><a class="dropdown-item" href="#">Sci-fi</a></li>
<li><a class="dropdown-item" href="#">Shorts</a></li>
<li><a class="dropdown-item" href="#">Sports</a></li>
<li><a class="dropdown-item" href="#">Stand-up Comedy</a></li>
<li><a class="dropdown-item" href="#">Thriller</a></li>
</ul>
</div>
</li>
</ul>
<form class="d-flex me-md-5" role="search">
<input class="form-control search-box" type="search" placeholder="Cari Disini" aria-label="Search">
<i class="fa-solid fa-magnifying-glass search-icon"></i>
</form>
<ul class="nav-icon d-flex pt-3">
<li class="dropdown me-3">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<i class="fa-solid fa-bell bell-icon"></i>
</a>
<ul class="dropdown-menu notification">
<li>
<a class="dropdown-item notification-item" href="#">
<img class="time-subscribe" src="assets/img/Clock.png" alt="">
<div class="notification-content">
<p class="multi-line-text-subscribe">Subscribe Premium<br>Telah Habis!</p>
<span class="notification-date">Hari Ini</span>
</div>
</a>
</li>
<li>
<a class="dropdown-item notification-item" href="#">
<img class="time-subscribe" src="assets/img/Kingkong.png" alt="">
<div class="notification-content">
<p class="multi-line-text-subscribe">Film Baru</p>
<p class="multi-line-text-new-movie">Khong Guan Super</p>
<span class="notification-date">1 Hari Yang Lalu</span>
</div>
</a>
</li>
<li>
<a class="dropdown-item notification-item" href="#">
<img class="time-subscribe" src="assets/img/Blackhat.png" alt="">
<div class="notification-content">
<p class="multi-line-text-subscribe">Film Baru</p>
<p class="multi-line-text-new-movie">Black Hat</p>
<span class="notification-date">2 Hari Yang Lalu</span>
</div>
</a>
</li>
<li>
<a class="dropdown-item notification-item" href="#">
<img class="time-subscribe" src="assets/img/Kingkong.png" alt="">
<div class="notification-content">
<p class="multi-line-text-subscribe">Film Baru</p>
<p class="multi-line-text-new-movie">Laugh Tate</p>
<span class="notification-date">2 Hari Yang Lalu</span>
</div>
</a>
</li>
</ul>
</li>
<li class="dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<i class="fa-solid fa-user user-icon"></i>
</a>
<ul class="dropdown-menu user-info">
<li><a class="dropdown-item user-info-item" href="overview-account.html"><i class="fa-solid fa-circle-user"></i> Profile Setting</a></li>
<li><a class="dropdown-item user-info-item" href="#"><i class="fa-solid fa-right-from-bracket"></i> Logout</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid section-jumbotron">
<div class="jumbotron">
<div class="jumbotron-content">
<div class="row align-items-center">
<div class="col-md-5 col-7">
<div class="ms-4 py-4">
<h1 class="display-4 jumbotron-title">All New Simba</h1>
<p class="lead">
Simba adalah anak sebatang kara yang sedang mencari orang tuanya
tetapi usaha nya terbatas. Mampukah simba menemukan orang tuanya ?
</p>
<a class="btn btn-primary btn-play btn-md-lg" href="#" role="button">Play</a>
</div>
</div>
<div class="col-md-7 col-5 jumbotron-img">
<div class="jumbotron-layer"></div>
<img src="assets/img/Jumbotron-img.png" alt="" class="img-fluid">
</div>
</div>
</div>
</div>
</div>
<h3 class="new-added-title">New Added</h3>
<section>
<div class="swiper">
<!-- Additional required wrapper -->
<div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Trex.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Foundation.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Godzilla Kingkong.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Lowlifes.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Boy.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Fights.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
</div>
<!-- If we need pagination -->
<div class="swiper-pagination"></div>
<!-- If we need navigation buttons -->
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
<!-- If we need scrollbar -->
<div class="swiper-scrollbar"></div>
</div>
</section>
<h3 class="new-added-title">Trending</h3>
<section>
<div class="swiper">
<!-- Additional required wrapper -->
<div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Trex.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Foundation.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Godzilla Kingkong.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Lowlifes.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Boy.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
<div class="swiper-slide">
<div class="card">
<img src="assets/img/Fights.png" class="img-fluid h-100" alt="...">
<span class="badge rounded-pill text-bg-dark badge-rating">
<img class="star-rating" src="assets/img/star-rating.png" alt="">
(8,3)
</span>
</div>
</div>
</div>
<!-- If we need pagination -->
<div class="swiper-pagination"></div>
<!-- If we need navigation buttons -->
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
<!-- If we need scrollbar -->
<div class="swiper-scrollbar"></div>
</div>
</section>
<footer>
<div class="text-center text-white">
<p class="footer-title">© <script>document.write(new Date().getFullYear());</script> CODEPOLITAN. All rights reserved.</p>
</div>
</footer>
<script src="assets/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script>
const swiper = new Swiper('.swiper', {
speed: 400,
spaceBetween: 10,
// slidesPerView: 5,
autoplay: {
delay: 3000, // Mengatur jeda antar slide dalam milidetik (3 detik)
disableOnInteraction: false, // Swiper akan tetap autoplay meskipun pengguna berinteraksi dengan slide
},
pagination: {
el: '.swiper-pagination',
type: 'bullets',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
breakpoints: {
325: {
slidesPerView: 2,
spaceBetween: 20,
},
768: {
slidesPerView: 4,
spaceBetween: 40,
},
1024: {
slidesPerView: 5,
spaceBetween: 50,
},
},
});
</script>
</body>
</html>