-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
203 lines (197 loc) · 9.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="preconnect" href="https://api.themoviedb.org">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/4cc3961380.js" crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="src/scss/base.scss">
<link rel="stylesheet" href="src/scss/main.scss">
<link rel="stylesheet" href="src/scss/header.scss">
<link rel="stylesheet" href="src/scss/side-bar.scss">
<link rel="icon" href="src/img/icons/icon.png">
<title>IMDB REIMAGINED</title>
</head>
<body>
<div class="wrapper">
<main>
<header>
<div class="toggle-side-bar">
<i id="toggle-side-bar" class="fas fa-ellipsis-v"></i>
</div>
<div class="header-container">
<div class="notifications-area">
<i id="alerts" class="far fa-bell"></i>
<div id="alertsBox" class="notifications-area__alerts-box">
<p>
No new notifications.
</p>
</div>
<i id="messages" class="far fa-comment-alt"></i>
<div id="messagesBox" class="notifications-area__messages-box">
<p>
You have 0 new messages.
</p>
</div>
</div>
<div class="profile-area">
<div class="profile-area__picture">
<img src="src/img/icons/user-pfp.jpg" alt="blank user profile">
</div>
<div class="profile-area__user-name">
<p>User Name</p>
<p class="imdb-text">IMDB Pro</p>
</div>
</div>
</div>
</header>
<div id="browse-container" class="browse-container container container--visible">
<div id="now-playing" class="now-playing">
<h1>Now In Theaters</h1>
<div class="now-playing__container" id="now-playing-container">
</div>
</div>
<div class="landing-page-gallery">
<div class="landing-page-gallery__sort-area">
<div class="properties-drop-down">
<h4>Sort By:</h4>
<span id="sort-by-placeholder" class="drop-down-current-value" data-parameter="popularity.desc">Most Popular</span>
<span class="toggler-icon" id="sort-menu-toggler-icon"></span>
<ul id="sort-by-menu" class="drop-down-menu">
<li class="sort-value" data-value="release_date.desc">New/Upcoming</li>
<li class="sort-value" data-value="popularity.desc" selected>Most Popular</li>
</ul>
</div>
<div class="properties-drop-down">
<h4>Show:</h4>
<span id="ratings-placeholder" class="drop-down-current-value" data-parameter="vote_count.desc">Highest To Lowest</span>
<span class="toggler-icon toggler-icon--for-rating" id="ratings-menu-toggler-icon"></span>
<ul id="ratings-menu" class="drop-down-menu">
<li class="ratings-value" data-value="vote_count.desc">Highest To Lowest</li>
<li class="ratings-value" data-value="vote_count.asc">Lowest To Highest</li>
</ul>
</div>
<div class="search-by-year-container">
<label for="sort-by-period">By Year:</label>
<input type="text" id="sort-byy-period" placeholder="Any..." class="drop-down-current-value text-input" data-parameter="primary_release_year=">
<button class="clear-year-filter-button" id="clear-year-filter-button">Reset</button>
</div>
</div>
<div class="grid-container" id="landing-page-container">
</div>
</div>
</div>
<div id="movies-container" class="movies-container container">
<div>
<div id="movies-search-field-container" class="search-field-container">
<form id="movies-search-form" class="search-field-container__form-section">
<label for="movies-search-field">Search for Movies:</label>
<input id="movies-search-field" type="text" autocomplete="off">
<div class="search-icon-container"><i class="fas fa-search"></i></div>
</form>
</div>
</div>
<div class="grid-container" id="movies-results">
</div>
</div>
<div id="tvshows-container" class="tvshows-container container">
<div>
<div id="tv-search-field-container" class="search-field-container">
<form id="tv-search-form" class="search-field-container__form-section">
<label for="tv-search-field">Search for TV Shows:</label>
<input id="tv-search-field" type="text" autocomplete="off">
<div class="search-icon-container"><i class="fas fa-search"></i></div>
</form>
</div>
</div>
<div id="tvshows-results" class="grid-container"></div>
</div>
<div id="celebs-container" class="celebs-container container">
<div>
<div id="celebs-search-field-container" class="search-field-container">
<form id="celebs-search-form" class="search-field-container__form-section">
<label for="celebs-search-field">Search for Celebrities:</label>
<input id="celebs-search-field" type="text" autocomplete="off">
<div class="search-icon-container"><i class="fas fa-search"></i></div>
</form>
</div>
</div>
<div id="celebs-results" class="rows-container">
</div>
</div>
<div id="current-movie" class="current-movie current-movie--visible">
</div>
</main>
<aside class="side-bar side-bar--visible">
<nav class="side-bar__container">
<div class="side-bar__logo">
<div>
<img src="src/img/icons/side-bar-logo.png" alt="IMDB logo">
</div>
</div>
<div class="side-bar__menu">
<ul>
<h5>Menu</h5>
<li>
<i class="side-bar-icon current-page fas fa-infinity">
</i>
<span data-toggler-target="browse-container">
Browse
</span>
</li>
</ul>
</div>
<div class="side-bar__menu">
<ul>
<h5>Search For</h5>
<li>
<i class="side-bar-icon fas fa-video">
</i>
<span data-toggler-target="movies-container">
Movies
</span>
</li>
<li>
<i class="side-bar-icon fas fa-tv">
</i>
<span data-toggler-target="tvshows-container">
TV Shows
</span>
</li>
<li>
<i class="side-bar-icon fas fa-portrait">
</i>
<span data-toggler-target="celebs-container">
Celebrities
</span>
</li>
</ul>
</div>
<div class="side-bar__menu">
<ul class="side-bar__menu__credits-icons">
<h5>Useful links</h5>
<li>
<i class="fab fa-dribbble"></i>
<span><a href="https://dribbble.com/shots/15830585-IMDb-Redesign-2021" target="_blank">The Design</a></span>
</li>
<li>
<i class="fab fa-github"></i>
<span><a href="https://github.com/Yuniac/Movies-App" target="_blank">Source Code</a></span>
</li>
</ul>
</div>
</nav>
</aside>
</div>
<div>
</div>
<div id="overlay-div" class="overlay-div"></div>
<script src="src/js/index.js"></script>
<script src="src/js/helpers.js" type="module"></script>
<script src="src/js/routingContent.js"></script>
</body>
</html>