-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.html
315 lines (285 loc) · 15.2 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
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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta charset="UTF-8">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.11/typed.min.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<style>
@import url('https://fonts.googleapis.com/css2?family=Courgette&family=Ephesis&family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@1,200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');
</style>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel="stylesheet">
<!-- <link rel="stylesheet" href="./assets/fonts/icomoon/style.css"> -->
<link rel="stylesheet" href="/assets/css/owl.carousel.min.css">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
<!-- Style -->
<link rel="stylesheet" href="./assets/css/style.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css" integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA==" crossorigin="anonymous" referrerpolicy="no-referrer"
/>
<title>HacktoberFest</title>
<link rel="shortcut icon" href="/assets/images/favicon.ico" />
<style>
#myBtn {
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
font-size: 18px;
background-color: rgb(256, 0, 204);
color: white;
cursor: pointer;
padding: 15px;
border-radius: 4px;
}
#myBtn:hover {
background-color: #555;
}
</style>
</head>
<body style="background: #2D6967">
<div class="site-mobile-menu">
<div class="site-mobile-menu-header">
<div class="site-mobile-menu-close mt-3">
<span class="icon-close2 js-menu-toggle"></span>
</div>
</div>
<div class="site-mobile-menu-body"></div>
</div>
<header class="site-navbar" role="banner">
<!-- NAVBAR STARTS -->
<div class="container">
<div class="head-row align-items-center">
<!-- style="position: relative; top: 3px; display: inline-block;" -->
<div class="d-inline-block d-xl-none ml-md-0 mr-auto py-3"><a href="#" class="site-menu-toggle js-menu-toggle text-white"><span class="icon-menu h3"></span></a></div>
<div class="col-11 col-xl-2">
<div style="display: flex;">
<img src="./assets/images/logo.png" height="50" width="50" style="margin-right: 20px;">
<h1 text-align="center"><a href="index.html" class="text-white mb-0" style="font-family: Hacktoberfest; font-weight: bolder;">HacktoberFest</a></h1>
</div>
</div>
<div class="col-12 col-md-10 d-none d-xl-block">
<nav class="site-navigation position-relative text-right" role="navigation">
<ul class="site-menu js-clone-nav mr-auto d-none d-lg-block">
<li class="active"><a href="index.html"><span>TV</span></a></li>
<li><a href="movies.html"><span>Movies</span></a></li>
<li><a href="explore.html"><span>Explore</span></a></li>
<li><a href="discover.html"><span>Discover</span></a></li>
<li><a href="myList.html"><span>My List</span></a></li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<!-- NAVBAR END -->
<!-- Typed Animation Script -->
<section>
<br>
<h5 style='text-align: center; font-weight: bolder; color: #fff;'>We can help you search your favourite <span class="typing"></span></h5>
<br>
<form id="showSearchForm" class="searchBar_pos1 searchForm" name="query" autocomplete="off">
<input type="search" id="searchText" placeholder="What show are you looking for?" />
<button type="submit" id="searchBtn">
<i class="fa fa-search searchIcon"></i>
</button>
<button id="textBtn" type="button" onclick="voice_search()">
<i class="fa fa-microphone"></i>
</button>
</form>
<div id="search-dropdown">
<ul id="search-dropdown-ul"></ul>
</div>
</section>
<script>
var typed = new Typed(".typing", {
strings: ["TV Shows", "Web Series", "Movies"],
typeSpeed: 110,
backSpeed: 60,
loop: true
});
</script>
<!--Actor Modal / Cast Modal-->
<div class="modal fade" id="actor-modal" tabindex="-1" role="dialog" aria-labelledby="am-title" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content" style="border-radius: 30px;background-color: rgb(26, 26, 26);color:white">
<button type="button" class="close" style="text-align: left;margin-top: 20px;margin-left: 20px;color:white;" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true" >×</span>
</button>
<div style="text-align:center">
<img style="border-radius: 30px;" id="actorpic" height="350px">
</div>
<div class="modal-header">
<h5 class="modal-title" id="am-title" style="margin-left: auto; margin-right: auto;"></h5>
</div>
<div id="am-body" style="padding-top: 10px; padding-bottom: 40px; padding-left:40px; padding-right:40px; font-size: 16px;" class="modal-body"></div>
</div>
</div>
<div id="am-body" style="padding-top: 10px; padding-bottom: 40px; padding-left:40px; padding-right:40px; font-size: 16px;" modal-body"></div>
</div>
</div>
<section id="popular-shows" class="">
<div class="container1">
<div class="row">
<!-- Show Cards Star Here (1) -->
<div class="hov col-lg-3 col-sm-6 col-12">
<div class="card border-0 mb-2 tvcard cardshow" style="max-width: 18rem;" onclick="show_info('The Big Bang Theory')">
<img src="https://i.ibb.co/CvMrjMK/MV5-BY2-Fm-ZTY5-YTkt-OWRl-Yy00-Nm-Iy-LWE0-Zm-Qt-ZDg2-Yjlm-Mzcz-ZDZi-Xk-Ey-Xk-Fqc-Gde-QXVy-Njg4-Nz-Ay.jpg" class="card-img-top border-0 card__image" alt="...">
<div class="card-body">
<h5 class="card-title">The Big Bang Theory</h5>
</div>
</div>
</div>
<div class="hov col-lg-3 col-sm-6 col-12">
<div class="card border-0 mb-2 tvcard cardshow" style="max-width: 18rem;" onclick="show_info('Friends')">
<img src="https://i.ibb.co/CKC0DHp/pg1004-1024x1024.jpg" class="card-img-top border-0" alt="...">
<div class="card-body">
<h5 class="card-title">Friends</h5>
</div>
</div>
</div>
<!-- (6) -->
<div class="hov col-lg-3 col-sm-6 col-12">
<div class="card border-0 mb-2 tvcard cardshow" style="max-width: 18rem;" onclick="show_info('Rick and Morty')">
<img src="https://i.ibb.co/TBHbbT2/rick-morty.png" class="card-img-top border-0" alt="...">
<div class="card-body">
<h5 class="card-title">Rick and Morty</h5>
</div>
</div>
</div>
<!-- Show Cards ENDS Here -->
<!-- (2) -->
<div class="hov col-lg-3 col-sm-6 col-12">
<div class="card border-0 mb-2 tvcard cardshow" style="max-width: 18rem;" onclick="show_info('Breaking Bad')">
<img src="https://i.ibb.co/wBYfB5m/Untitled-design.png" class="card-img-top border-0" alt="...">
<div class="card-body">
<h5 class="card-title">Breaking Bad</h5>
</div>
</div>
</div>
<br><br>
<!-- (3) -->
<div class="hov col-lg-3 col-sm-6 col-12">
<div class="card border-0 mb-2 tvcard cardshow" style="max-width: 18rem;" onclick="show_info('Narcos')">
<img src="https://i.ibb.co/XLRrfLD/Untitled-design-2.png" class="card-img-top border-0" alt="...">
<div class="card-body">
<h5 class="card-title">Narcos</h5>
</div>
</div>
</div>
<!-- (4) -->
<div class="hov col-lg-3 col-sm-6 col-12">
<div class="card border-0 mb-2 tvcard cardshow" style="max-width: 18rem;" onclick="show_info('The Queens Gambit')">
<img src="https://i.ibb.co/f0vpCq4/Untitled-design-1.png" class="card-img-top border-0" alt="...">
<div class="card-body">
<h5 class="card-title">The Queen's Gambit</h5>
</div>
</div>
</div>
<!-- (5) -->
<div class="hov col-lg-3 col-sm-6 col-12">
<div class="card border-0 mb-2 tvcard cardshow" style="max-width: 18rem;" onclick="show_info('Dexter')">
<img src="https://i.ibb.co/G2Bh9WS/Untitled-design-3.png" class="card-img-top border-0" alt="...">
<div class="card-body">
<h5 class="card-title">Dexter </h5>
</div>
</div>
</div>
<div class="hov col-lg-3 col-sm-6 col-12">
<div class="card border-0 mb-2 tvcard cardshow" style="max-width: 18rem;" onclick="show_info('The Office')">
<img src="https://i.ibb.co/rF6C5T8/Untitled-design-4.png" class="card-img-top border-0" alt="...">
<div class="card-body">
<h5 class="card-title">The Office</h5>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container1__background container1__background--1"></div>
<div class="container1__background container1__background--2"></div>
</section>
<section id="searchResult">
<div id="main-info">
<div id="show-image"></div>
<div id="show-prim-info"></div>
</div>
<div id="sec-info" class="hidden" >
<ul style="list-style: none;" id="sec-ul" class="inline-ul">
<li class="active-b" id="EpisodeHeading" onclick="ep_reload()"><a href="#!"><span>Episodes</span></a></li>
<li id="castHeading" ><a href="#!" onclick="cast_display()"><span>Cast</span></a></li>
<li id="crewHeading" ><a href="#!" onclick="crew_display()"><span>Crew</span></a></li>
</ul>
<ul id="season" class="inline-ul season_design"></ul>
<h5 id="season-num" style="font-weight: bold;" class="mt-5"></h5>
<h5 id="season-num" style="font-weight: bold;" class="mt-5"></h5>
<table id="data-table" style="width: 100%;" class="table_design">
<tr id="table-headers"></tr>
<div id="table-data"></div>
</table>
<ul id="cast_data" class="inline-ul"> </ul>
<ul id="crew_data" class="inline-ul"> </ul>
</div>
</section>
<button onclick="topFunction()" id="myBtn" title="Go to top"><i class="fa-solid fa-angles-up"></i></button>
<script>
// Get the button
let mybutton = document.getElementById("myBtn");
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {
scrollFunction()
};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
<section class="exp-sec hidden">
<div class="exp-sec-info">
<h6 class="display-6">SIMILAR MOVIES</h6>
</div>
<div class="container similar exp-cont">
<!-- <div>
<img src="https://image.tmdb.org/t/p/w400//2uNW4WbgBXL25BAbXGLnLqX71Sw.jpg" alt="" height ="200px">
<h6>Venom</h6>
</div> -->
<!-- Pupular Content Goes Here -->
</div>
</section>
<!-- Youtube Modal -->
<div class="modal fade" id="yt-modal" tabindex="-1" aria-labelledby="yt-modalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content" id="yt-modal-content">
<iframe width="560" height="315" src="" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
</div>
<script src="/assets/js/app.js"></script>
<script src="/assets/libs/jquery-3.3.1.min.js"></script>
<script src="/assets/libs/popper.min.js"></script>
<script src="/assets/libs/bootstrap.min.js"></script>
<script src="/assets/libs/jquery.sticky.js"></script>
<script src="/assets/libs/main.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.21.4/axios.min.js" integrity="sha512-lTLt+W7MrmDfKam+r3D2LURu0F47a3QaW5nF0c6Hl0JDZ57ruei+ovbg7BrZ+0bjVJ5YgzsAWE+RreERbpPE1g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</body>
</html>