-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome-page.html
220 lines (212 loc) · 7.13 KB
/
home-page.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
<!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" />
<meta name="theme-color" content="#2c3e50" />
<meta
name="description"
content="Get overviews and general information on every movie from latest releases to older ones!"
/>
<link rel="icon" href="./Icon/icon.png" />
<link rel="stylesheet" href="./Bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="./CSS/home-page.css" />
<title>MoviePedia</title>
</head>
<body>
<!-- Navbar Starts Here-->
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<div class="container-fluid">
<a class="navbar-brand" href="./home-page.html">
<img id="nav-logo" src="./Icon/icon.png" alt="Film Icon" />
MoviePedia</a
>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="./home-page.html"
>Home</a
>
</li>
<li class="nav-item">
<a
class="nav-link"
href="#"
data-bs-toggle="modal"
data-bs-target="#credits"
>Credits</a
>
</li>
<li class="nav-item dropdown">
<a
class="nav-link dropdown-toggle"
href="#"
id="navbarDropdown"
role="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
Filter
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li>
<a id="sort-by-votes" class="dropdown-item" href="#"
>Rating (All Time)</a
>
</li>
<li>
<a id="sort-by-revenue" class="dropdown-item" href="#"
>Revenue (All Time)</a
>
</li>
<li><hr class="dropdown-divider" /></li>
<li>
<a id="sort-by-popularity" class="dropdown-item" href="#"
>Popularity (Default)</a
>
</li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="./bookings.html" target="_blank"
>Book Theatre Seats</a
>
</li>
</ul>
<form id="form" class="d-flex">
<input
type="text"
placeholder="Search..."
autocomplete="off"
id="search"
class="search"
/>
</form>
</div>
</div>
</nav>
<!-- Navbar Ends Here-->
<!-- Credits Modal Starts Here -->
<div class="modal" id="credits">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Credits</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true"></span>
</button>
</div>
<div class="modal-body">
<p>
The data that is displayed on this websited is fetched from the
<a
href="https://www.themoviedb.org/documentation/api"
target="_blank"
>TMDB API</a
>
that helps developers to get and manipulate data from a huge
database of movies.
</p>
</div>
<div class="modal-footer">
<a
href="https://www.themoviedb.org/"
target="_blank"
class="btn btn-primary"
>Visit TMDB</a
>
<button
type="button"
class="btn btn-secondary"
data-bs-dismiss="modal"
>
Close
</button>
</div>
</div>
</div>
</div>
<!-- Credits Modal End Here -->
<!-- Notification Popup Starts Here-->
<div class="toastPositioner">
<div
class="toast show"
role="alert"
aria-live="assertive"
aria-atomic="true"
>
<div class="toast-header">
<strong class="me-auto">Balen Kawa</strong>
<small>30 Seconds ago</small>
<button
type="button"
class="btn-close ms-2 mb-1"
data-bs-dismiss="toast"
aria-label="Close"
>
<span aria-hidden="true"></span>
</button>
</div>
<div class="toast-body">
Welcome! Search for any movie in the search box to get its trailer and
overview. You can also filter by either genres or other filters
present on the navigaation bar!
</div>
</div>
</div>
<!-- Notification Popup Ends Here-->
<!-- Body of Our Website -->
<div id="tags"></div>
<span id="scroll-back-up"></span>
<!-- Trailer Overlay Starts Here -->
<div id="trailer-overlay" class="overlay">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()"
>×</a
>
<div class="overlay-content" id="overlay-content"></div>
<a href="javascript:void(0)" class="arrow left-arrow" id="left-arrow"
>⇐</a
>
<a href="javascript:void(0)" class="arrow right-arrow" id="right-arrow"
>⇒</a
>
</div>
<!-- Trailer Overlay Ends Here -->
<main id="main"></main>
<!-- Body of Our Website -->
<!-- Paagination Starts Here -->
<div class="pagination">
<div class="page" id="prev"> Prev </div>
<div class="current" id="current">1</div>
<div class="page" id="next">Next</div>
</div>
<!-- Paagination Ends Here -->
<!-- Footer Starts Here -->
<footer class="bg-primary text-center text-white">
<div class="text-center p-3">
2021 Copyright ©
<a class="text-white" href="#">Balen Kawa</a>
</div>
</footer>
<!-- Footer Ends Here -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="./JS/script.js"></script>
</body>
</html>