-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
246 lines (175 loc) · 7.74 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
<!DOCTYPE html>
<html lang="en">
<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>Bing+Star</title>
<link rel="stylesheet" href="./styles/style.css">
<link rel="stylesheet" href="./styles/slides.css">
<link rel="stylesheet" href="./styles/Icontainers.css">
</head>
<body>
<div id="nav">
<!-- <ul id="nav-list">
<a href="index.html"><li>Bing Star</li></a>
<a href="TV.html"><li>TV</li></a>
<a href="movies.html"><li>Movies</li></a>
<a href="sports.html"><li>Sports</li></a>
<a href="subscribe.html"><li>Bing+</li></a>
<a href="kids.html"><li>KIDS</li></a>
</ul>
<div>
<input type="text" id="search_movies" placeholder="Search">
<a href="vip.html"><button id="SIGNUP">BingVIP</button></a>
<a href="login.html"><button id="LOGIN" >LOGIN</button></a> <span id="user__name"></span>
<button id="logout">Logout</button>
<div id="showmovie">
</div>
</div> -->
</div>
<div id="slide-box">
<!--
<img src="https://image.tmdb.org/t/p/original/5MlvT4DZIdkpb7A9t375HVoiJ1v.jpg" alt="" height="400px" width="100%">
<div class="slide-text-box">
<p class="slides-title">Slide Title</p>
<p class="slides-year-genre"></p>
<div class="slides-des">
<marquee direction="left" ></marquee>
</div>
<p class="staring"><span>Staring : </span></p>
</div> -->
</div>
<div class="main">
<!-- <div class="movie-list">
<button class="pre-btn"><img src="" alt=""></button>
<h1 class="movie-category">Popular movie</h1>
<div class="movie-container">
<div class="movie">
<img src="" alt="">
<p class="movie-title">movie name</p>
</div>
</div>
<button class="nxt-btn"><img src="" alt=""></button>
</div> -->
</div>
<footer>
<div class="footer">
<div>
<ul class="about-footer">
<a href="aboutus.html"><li>About Bing Star</li></a>
<a href="termsofuse.html"><li>Terms Of Use</li></a>
<a href="policy.html"><li>Privacy Policy</li></a>
<a href="FAQ.html"><li>FAQ</li></a>
<a href="feedback.html"><li>Feedback</li></a>
<a href="Careers.html"><li>Careers</li></a>
</ul>
<p class="rights-reserve">© 2021 STAR. All Rights Reserved. HBO, Home Box Office and all related channel and programming logos are service marks of, and all related programming visuals and elements are the property of, Home Box Office, Inc. All rights reserved.</p>
</div>
<div class="contact-us">
<div>
<p class="connect-text">Connect With Us</p>
<a href="https://www.facebook.com/profile.php?id=100012922119374" target="_blank"><img src="https://www.bing.com/th?id=OIP.wSam1PapIpyRQiO8qGiPQwHaHa&w=97&h=100&c=8&rs=1&qlt=90&o=6&pid=3.1&rm=2" alt="" class="faceinsta"></a>
<a href="https://www.instagram.com/ankitmi468/" target="_blank"><img src="https://www.bing.com/th?id=OIP.i3tuSCmOYEPeZrT3r3kC6wHaHa&w=110&h=110&c=8&rs=1&qlt=90&o=6&pid=3.1&rm=2" alt="" class="faceinsta"></a>
</div>
<div>
<p class="connect-text">Bing Star App</p>
<a href="https://play.google.com/store" target="_blank"><img src="https://methodsandmastery.com/wp-content/uploads/2019/01/Google-Pay-1-copy.png" alt="" class="play-store-foot"></a>
<a href="https://www.apple.com/in/app-store/" target="_blank"><img src="https://th.bing.com/th/id/R.f18dd6501518ac5004a192545fc8859b?rik=tGNwRGznUlNAsg&riu=http%3a%2f%2fwww.ezhometech.com%2fhtml%2fpicture%2fios_app_badge.png&ehk=SVRreDzH8KPLNHIc5oRz6CDVZ2FWjGiTk9FrtcREldo%3d&risl=&pid=ImgRaw&r=0" alt="" class="play-store-foot"></a>
</div>
</div>
</div>
</footer>
</body>
</html>
<script type="module" src="index.js">
// import {navbar} from "./component/navbar.js"
// let nav = document.getElementById("nav")
// nav.innerHTML = navbar()
// let showmovie = document.getElementById("showmovie")
// let timerId;
// let body = document.querySelector("body")
// body.addEventListener("click" , hide_showmovie)
// function hide_showmovie() {
// showmovie.style.display = "none"
// }
// // for search input
// let search_movies = document.getElementById("search_movies")
// search_movies.addEventListener("input" , debounce)
// async function showSearchResult(movie_name) {
// let res = await fetch(`http://www.omdbapi.com/?apikey=2b79427&s=${movie_name}`)
// let data = await res.json()
// return data.Search
// }
// function appendSearched(searched_result) {
// searched_result.forEach(({Title,imdbID,Poster,Year}) => {
// let div = document.createElement("div")
// div.setAttribute("class" , "result")
// let poster = document.createElement("img")
// poster.src = Poster
// let title = document.createElement("p")
// title.setAttribute("class" , "title")
// title.innerText = Title
// div.onclick = function() {
// addtodetail(imdbID)
// }
// let year = document.createElement("p")
// year.textContent = Year
// let yt = document.createElement("div")
// yt.setAttribute("class" , "yt")
// yt.append(title,year)
// div.append(poster,yt)
// showmovie.append(div)
// })
// }
// async function main() {
// let name = document.getElementById("search_movies").value
// let getresponse = await showSearchResult(name)
// appendSearched(getresponse)
// }
// function debounce() {
// showmovie.innerHTML = null
// showmovie.style.display = "block"
// if(timerId) {
// clearTimeout(timerId)
// }
// timerId = setTimeout(() => {
// main()
// },1000)
// }
// let getdata = JSON.parse(localStorage.getItem("Bing-login"))
// if(getdata.length >= 1) {
// let user__ = getdata[getdata.length-1]
// let user__name = document.getElementById("user__name")
// user__name.innerText = user__.name
// }
// let user__name = document.getElementById("user__name")
// if(user__name.innerText !== "") {
// let LOGINn = document.getElementById("LOGIN")
// LOGINn.style.display = "none"
// }
// user__name.addEventListener("click" , showLogout)
// let logout = document.getElementById("logout")
// logout.addEventListener("click" , log_out)
// let flag_out = true
// function showLogout() {
// if(flag_out) {
// logout.style.display = "block"
// flag_out = false
// } else {
// logout.style.display = "none"
// flag_out = true
// }
// }
// function log_out() {
// JSON.parse(localStorage.removeItem("Bing-login"))
// logout.style.display = "none"
// let LOGINn = document.getElementById("LOGIN")
// LOGINn.style.display = "block"
// window.location.href = "index.html"
// }
</script>
<script src="./scripts/slides.js"></script>
<script src="./scripts/api.js"></script>
<script src="./scripts/scroll.js"></script>
<script src="./scripts/home.js"></script>