-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
279 lines (276 loc) · 19.1 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Movies | Las tendencias de películas a tu alcance</title>
<link rel="stylesheet" href="/css/styles.css" />
<link rel="manifest" href="/manifest.json" />
<link rel="canonical" href="https://studiomovies.netlify.app/" />
<script src="/js/movies.js" type="module"></script>
<script src="/js/dataMovie.js" type="module"></script>
<script src="/js/heroMovie.js" type="module"></script>
<script src="/js/searchInput.js" type="module"></script>
<script src="/js/scrolling.js" type="module"></script>
<script src="/js/nav.js" type="module"></script>
<meta name="application-name" content="Añade tus películas favoritas a tu lista y disfruta de las nuevas tendencias con toda su información en Movies." />
<meta name="theme-color" content="#fafafa" />
<meta name="author" content="Jeremy Díaz" />
<meta name="description" content="Añade tus películas favoritas a tu lista y disfruta de las nuevas tendencias con toda su información en Movies." />
<meta property="og:locale" content="es_ES" />
<meta property="og:title" content="Movies | Las películas a tu alcance" />
<meta property="og:image" content="/favicon.ico" />
<meta property="og:description" content="Añade tus películas favoritas a tu lista y disfruta de las nuevas tendencias con toda su información en Movies." />
<meta property="og:url" content="https://studiomovies.netlify.app" />
<meta property="og:site_name" content="studiomovies.netlify.app" />
<meta property="og:type" content="website" />
</head>
<body>
<div class="sign">Agregado a la lista</div>
<header class="header">
<div class="header__inner">
<nav class="header__nav nav">
<div class="nav__first">
<a class="nav__movies" title="Logo de Movies" href="/">
<figure class="nav__figure">
<img class="nav__logo" alt="Logo de Movies" src="/images/logo.webp" decoding="async" />
</figure>
</a>
<ul class="nav__ul">
<li class="nav__li">
<a class="nav__link nav__link--active" title="Inicio" href="#top">Inicio</a>
</li>
<li class="nav__li">
<a class="nav__link" title="Películas" href="/pages/movies.html">Películas</a>
</li>
<li class="nav__li">
<a class="nav__link" title="Mi lista" href="/pages/list.html">Mi lista</a>
</li>
</ul>
</div>
<div class="nav__second">
<form class="nav__form" method="get">
<div class="nav__group nav__group--input">
<span class="nav__icon">
<svg width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"
/>
</svg>
</span>
<input class="nav__search" type="text" placeholder="Buscar películas..." />
</div>
<div class="nav__group nav__group--search"></div>
<div class="nav__third">
<button class="nav__button nav__button--search" title="Buscar películas...">
<svg width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"
/>
</svg>
</button>
<button class="nav__button nav__button--menu" title="Abrir el menú">
<svg viewBox="0 0 80 40" width="16" height="16">
<rect class="nav__rect nav__rect--top" fill="currentColor" width="90" height="10"></rect>
<rect class="nav__rect nav__rect--bottom" fill="currentColor" y="30" width="90" height="10"></rect>
</svg>
</button>
</div>
</form>
</div>
</nav>
</div>
</header>
<main class="main">
<section class="main__hero hero">
<div class="hero__bg">
<iframe
class="hero__video"
title="Movies Youtube videos"
tabindex="-1"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
></iframe>
</div>
<div class="hero__inner">
<div class="hero__group">
<h1 class="hero__name">Movies</h1>
<h2 class="hero__title">Las tendencias de películas a tu alcance</h2>
<div class="hero__group hero__group--inline">
<button class="hero__button hero__button--information" title="Más información">
<svg width="100%" height="24" fill="currentColor" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z" />
<path
d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"
/>
</svg>
Más información
</button>
<button class="hero__button hero__button--sound" title="Desmutea el video">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 16 16">
<path d="M11.536 14.01A8.473 8.473 0 0 0 14.026 8a8.473 8.473 0 0 0-2.49-6.01l-.708.707A7.476 7.476 0 0 1 13.025 8c0 2.071-.84 3.946-2.197 5.303l.708.707z" />
<path d="M10.121 12.596A6.48 6.48 0 0 0 12.025 8a6.48 6.48 0 0 0-1.904-4.596l-.707.707A5.483 5.483 0 0 1 11.025 8a5.483 5.483 0 0 1-1.61 3.89l.706.706z" />
<path
d="M8.707 11.182A4.486 4.486 0 0 0 10.025 8a4.486 4.486 0 0 0-1.318-3.182L8 5.525A3.489 3.489 0 0 1 9.025 8 3.49 3.49 0 0 1 8 10.475l.707.707zM6.717 3.55A.5.5 0 0 1 7 4v8a.5.5 0 0 1-.812.39L3.825 10.5H1.5A.5.5 0 0 1 1 10V6a.5.5 0 0 1 .5-.5h2.325l2.363-1.89a.5.5 0 0 1 .529-.06z"
/>
</svg>
</button>
</div>
<div class="hero__group hero__group--inline">
<p class="hero__avg">
<svg width="16" height="16" fill="#f50915" viewBox="0 0 16 16">
<path
d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"
/>
</svg>
<span class="hero__average">0</span>
</p>
<p class="hero__count">
<svg width="16" height="16" fill="#f50915" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2Z" />
</svg>
<span class="hero__vote">0</span>
</p>
</div>
</div>
<div class="hero__group hero__group--inline hero__group--genres">
<p class="hero__genres"></p>
</div>
</div>
</section>
<section class="main__movies movies">
<div class="movies__search">
<div class="movies__blur"></div>
</div>
<div class="movies__inner"></div>
<div class="movies__inner movies__inner--more">
<div class="movies__blur"></div>
<button class="movies__button movies__button--more">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
<path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
</svg>
Ver más
</button>
<a class="movies__button movies__button--seelist" title="Mi lista" href="/pages/list.html">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 16 16">
<path
d="M3 4.5h10a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1H3zM1 2a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 2zm0 12a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 14z"
/>
</svg>
Ver lista
</a>
</div>
</section>
<section class="main__datamovie datamovie">
<article class="datamovie__inner">
<header class="datamovie__header">
<div class="datamovie__bg">
<div class="datamovie__left">
<button class="datamovie__button datamovie__button--list" title="Añadir a la lista">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2Z"></path>
</svg>
</button>
</div>
<div class="datamovie__close">
<button class="datamovie__button datamovie__button--close" title="Cerrar">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 16 16">
<path
d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"
/>
</svg>
</button>
</div>
<div class="datamovie__hero">
<iframe
class="datamovie__video"
title="Movies Youtube videos"
tabindex="-1"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
></iframe>
</div>
<div class="datamovie__bg datamovie__bg--poster">
<img class="datamovie__poster" src="https://image.tmdb.org/t/p/w200/lyP4WNmUiiOgl4g2z7ywE0z6SGF.jpg" alt="Póster de Movies" loading="lazy" decoding="async" />
</div>
</div>
</header>
<div class="datamovie__group">
<section class="datamovie__section">
<h2 class="datamovie__title"></h2>
<h3 class="datamovie__description"></h3>
<p class="datamovie__data"></p>
</section>
<aside class="datamovie__aside">
<h3 class="datamovie__subtitle">Más videos</h3>
<div class="datamovie__videos"></div>
</aside>
</div>
</article>
<div class="datamovie__out"></div>
</section>
</main>
<footer class="footer">
<div class="footer__inner">
<div class="footer__first">
<a class="footer__movies" title="Logo de Movies" href="/">
<figure class="footer__figure">
<img class="footer__logo" alt="Logo de Movies" src="/images/logo.webp" loading="lazy" decoding="async" />
</figure>
</a>
</div>
<div class="footer__second">
<ul class="footer__ul">
<li>
<a class="footer__link footer__link--active" title="Inicio" href="#top">Inicio</a>
</li>
<li>
<a class="footer__link" title="Películas" href="/pages/movies.html">Películas</a>
</li>
<li>
<a class="footer__link" title="Mi lista" href="/pages/list.html">Mi lista</a>
</li>
</ul>
</div>
<div class="footer__third">
<ul class="footer__ul">
<li>
<a class="footer__link" title="Ir a mi GitHub" href="https://github.com/jevmydev" target="_blank" rel="noreferrer noopener">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
<path
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
></path>
</svg>
</a>
</li>
<li>
<a class="footer__link" title="Ir a mi LinkedIn" href="https://www.linkedin.com/in/jeremy-d%C3%ADaz-50b594233/" target="_blank" rel="noreferrer noopener">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 30 30">
<path
d="M9,25H4V10h5V25z M6.501,8C5.118,8,4,6.879,4,5.499S5.12,3,6.501,3C7.879,3,9,4.121,9,5.499C9,6.879,7.879,8,6.501,8z M27,25h-4.807v-7.3c0-1.741-0.033-3.98-2.499-3.98c-2.503,0-2.888,1.896-2.888,3.854V25H12V9.989h4.614v2.051h0.065 c0.642-1.18,2.211-2.424,4.551-2.424c4.87,0,5.77,3.109,5.77,7.151C27,16.767,27,25,27,25z"
></path>
</svg>
</a>
</li>
<li>
<a class="footer__link" href="https://twitter.com/jevmydev" title="Ir a mi Twitter" target="_blank" rel="noreferrer noopener">
<svg height="24" width="24" fill="currentColor" viewBox="0 0 56 56">
<path
d="M52.837,15.065c-1.811,0.805-3.76,1.348-5.805,1.591c2.088-1.25,3.689-3.23,4.444-5.592c-1.953,1.159-4.115,2-6.418,2.454 c-1.843-1.964-4.47-3.192-7.377-3.192c-5.581,0-10.106,4.525-10.106,10.107c0,0.791,0.089,1.562,0.262,2.303 c-8.4-0.422-15.848-4.445-20.833-10.56c-0.87,1.492-1.368,3.228-1.368,5.082c0,3.506,1.784,6.6,4.496,8.412 c-1.656-0.053-3.215-0.508-4.578-1.265c-0.001,0.042-0.001,0.085-0.001,0.128c0,4.896,3.484,8.98,8.108,9.91 c-0.848,0.23-1.741,0.354-2.663,0.354c-0.652,0-1.285-0.063-1.902-0.182c1.287,4.015,5.019,6.938,9.441,7.019 c-3.459,2.711-7.816,4.327-12.552,4.327c-0.815,0-1.62-0.048-2.411-0.142c4.474,2.869,9.786,4.541,15.493,4.541 c18.591,0,28.756-15.4,28.756-28.756c0-0.438-0.009-0.875-0.028-1.309C49.769,18.873,51.483,17.092,52.837,15.065z"
></path>
</svg>
</a>
</li>
</ul>
</div>
</div>
<div class="footer__inner footer__inner--bottom">
<a class="footer__link" title="Ir a mi Portfolio" href="https://jeremydiaz.netlify.app/" target="_blank" rel="noreferrer noopener"> Creado por Jeremy Díaz </a>
<a class="footer__link" title="Ir al inicio" href="#top">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 16 16">
<path d="M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5z"></path>
</svg>
</a>
</div>
</footer>
</body>
</html>