-
Notifications
You must be signed in to change notification settings - Fork 0
/
estrenos.html
206 lines (197 loc) · 10.2 KB
/
estrenos.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
<!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>Cine Mi Ciudad</title>
<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=Roboto:ital,wght@0,300;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
<script src="https://kit.fontawesome.com/de7292b10f.js" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">
<link href="//cdn.jsdelivr.net/npm/@sweetalert2/theme-dark@4/dark.css" rel="stylesheet">
</head>
<body>
<header class="sticky-top p-3 ">
<nav class="navbar navbar-dark navbar-expand-lg">
<div class="container">
<a href="./index.html" class="d-flex align-items-center mb-2 mb-lg-0 ">
<img src="./img/logo.png" class="agitar" width="60" height="50" alt="logo">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
<li><a href="./index.html" class="nav px-2 text-decoration-none">Inicio</a></li>
<li><a href="./estrenos.html" class="nav px-2">Estrenos</a></li>
<li><a href="#" class="nav px-2">FAQs</a></li>
<li><a href="#" class="nav px-2">About</a></li>
</ul>
<div class="d-flex justify-content-center align-items-center">
<button class="switch" id="switch">
<span><i class="fa-solid fa-sun"></i></span>
<span><i class="fa-solid fa-moon"></i></span>
</button>
</div>
</div>
</div>
</nav>
</header>
<main class="main-container">
<div class="container stats-tmdb d-flex flex-wrap justify-content-between my-5">
<div class="text-wrap fs-4">
<p>En esta Seccion consumo la Api The Movie DataBase y muestro las ultimas Peliculas más Populares</p>
<p>La base de datos de películas (TMDB) es una base de datos de películas y TV creada por la
comunidad. Cada dato ha sido
agregado por nuestra increíble comunidad desde 2008. El sólido enfoque internacional de TMDb y
la amplitud de los datos
son en gran medida incomparables y es algo de lo que estamos increíblemente orgullosos. En pocas
palabras, vivimos y
respiramos en comunidad y eso es precisamente lo que nos hace diferentes.</p>
</div>
<div>
<span id="errorApi"></span>
<div class="d-flex flex-wrap">
<div class="stat">
<p>786.390</p>
<p>Movies</p>
</div>
<div class="stat">
<p>137.058</p>
<p>TV Shows</p>
</div>
<div class="stat">
<p>214.776</p>
<p>TV Seasons</p>
</div>
<div class="stat">
<p>3.287.498</p>
<p>TV Episodes</p>
</div>
<div class="stat">
<p>2.559.244</p>
<p>People</p>
</div>
<div class="stat">
<p>3.611.060</p>
<p>Images</p>
</div>
</div>
<div class="contact">
<a href="https://www.themoviedb.org/?language=es" class="contact button" target="_blank">Contact TMDB</a>
</div>
</div>
<div>
<img src="https://www.themoviedb.org/assets/2/v4/marketing/sheldon-1a29d9f7807771f061c5a3799a61ed2f0a84505553c70fc99719df02335d9746.png"
alt="">
</div>
</div>
<div class="container stats-tmdb text-center">
<h2>TMDB - Api</h2>
<div id="loader"></div>
</div>
<div class="container mt-5" id="divEstrenos">
</div>
<div class="container d-flex justify-content-center mt-5">
<nav id="links">
<button class="btn btn-comprar" id="btnAnterior">Anterior</button>
<button class="btn btn-comprar" id="btnSiguiente">Siguiente</button>
</nav>
</div>
<!-- Modal Carrito de Compra -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Carrito de Compras</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<table class="table table-striped" id="tablaCarrito">
<thead>
<tr>
<th scope="col">Dia</th>
<th scope="col">Hora</th>
<th scope="col">Pelicula</th>
<th scope="col">Precio</th>
<th scope="col">Cantidad</th>
<th scope="col"></th>
</tr>
</thead>
<tbody id="tablaCarrito" class="bg-dark">
</tbody>
</table>
<div class="d-flex flex-row-reverse">
<span type="button" class="btn btn-dark disabled" id="precioTotal"></span>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-success">PAGAR</button>
</div>
</div>
</div>
</div>
</main>
<footer class="container p-3 mb-5 rounded mt-5">
<div class="d-flex justify-content-center">
<div class="text-center">
<span class="btn btn-dark">FORMAS DE PAGO</span>
<div class="mt-4">
<img src="./img/LOGO-MERCADO-PAGO.png" width="350px" />
</div>
</div>
</div>
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-5 py-5 my-5 border-top">
<div class="col mb-3">
<h5>Section</h5>
<ul class="nav flex-column">
<li class="mb-2"><a href="./index.html" class="text-decoration-none">Inicio</a></li>
<li class="mb-2"><a href="./estrenos.html" class="text-decoration-none">Estrenos</a></li>
<li class="mb-2"><a href="" class="text-decoration-none">FAQs</a></li>
<li class="mb-2"><a href="" class="text-decoration-none">About</a></li>
</ul>
</div>
<div class="col mb-3">
<h5>Section</h5>
<ul class="nav flex-column">
<li class="mb-2"><a href="./index.html" class="text-decoration-none">Inicio</a></li>
<li class="mb-2"><a href="./estrenos.html" class="text-decoration-none">Estrenos</a></li>
<li class="mb-2"><a href="" class="text-decoration-none">FAQs</a></li>
<li class="mb-2"><a href="" class="text-decoration-none">About</a></li>
</ul>
</div>
<div class="col mb-3">
<h5>Section</h5>
<ul class="nav flex-column">
<li class="mb-2"><a href="./index.html" class="text-decoration-none">Inicio</a></li>
<li class="mb-2"><a href="./estrenos.html" class="text-decoration-none">Estrenos</a></li>
<li class="mb-2"><a href="" class="text-decoration-none">FAQs</a></li>
<li class="mb-2"><a href="" class="text-decoration-none">About</a></li>
</ul>
</div>
<div class="col mb-3">
</div>
<div class="col mb-3">
<a href="https://www.linkedin.com/in/leonardo-bellido/" class=" mb-3 text-decoration-none" target="_blank">
<img src="./img/linkedin.png" class="bi me-2" width="40" height="40"></img>
Bellido Leonardo © 2022</a>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.5/dist/umd/popper.min.js"
integrity="sha384-Xe+8cL9oJa6tN/veChSP7q+mnSPaj5Bcu9mPX5F5xIGE0DVittaqT5lorf0EI7Vk"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.min.js"
integrity="sha384-ODmDIVzN+pFdexxHEHFBQH3/9/vQ9uori45z4JjnFsRydbmQbmL5t1tQ0culUzyK"
crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.js"></script>
<script src="./js/estrenos.js"></script>
<script src="./js/main.js"></script>
</body>
</html>