-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAccion.html
154 lines (140 loc) · 6.77 KB
/
Accion.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/estiloAccion.css">
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/Buscador.css">
<link rel="apple-touch-icon" sizes="180x180" href="icon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="icon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icon/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<title>PELICULIX</title>
</head>
<body>
<header>
<div class="contenedor">
<a href="index.html" class="logotipo">PELICULIX</a>
<nav>
<a href="index.html" class="activo">Inicio</a>
<a href="Peliculas.html">Películas</a>
<a href="Series.html">Series</a>
</nav>
<div class="input__container">
<select id="categorias" onchange="redireccionar()">
<option value="" disabled selected>categorias</option>
<option value="Accion.html">Acción</option>
<option value="Terror.html">Terror</option>
<option value="Comedia.html">Comedia</option>
<option value="Ciencia_Ficcion.html">Ciencia Ficción</option>
<option value="Drama.html">Drama</option>
<!-- Agrega más opciones de categorías según tus necesidades y asegúrate de que los archivos .html existan en tu proyecto -->
</select>
</div>
<div class="input__container">
<div class="shadow__input"></div>
<button class="input__button__shadow">
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" height="20px" width="20px">
<path d="M4 9a5 5 0 1110 0A5 5 0 014 9zm5-7a7 7 0 104.2 12.6.999.999 0 00.093.107l3 3a1 1 0 001.414-1.414l-3-3a.999.999 0 00-.107-.093A7 7 0 009 2z" fill-rule="evenodd" fill="#17202A"></path>
</svg>
</button>
<input type="text" name="buscador" id="buscador" placeholder="¿Que quieres ver hoy?">
</div>
</div>
</header>
<main>
<div class="pelicula-principal">
<div class="contenedor">
<h3 class="titulo">Echo 3</h3>
<p class="descripcion">
Cuando la científica Amber Chesborough desaparece en la frontera entre Colombia y Venezuela, su hermano, Bambi, y su marido, Prince, luchan por encontrarla con el telón de fondo de una guerra secreta.
</p>
<a href="#" class="play" onclick="toggleVideo();">
<img src="./img/play.png" />Trailer
<button role="button" class="boton"><i class="fas fa-info-circle"></i>Más información</button>
</a>
</div>
</div>
<section class="trailer">
<video src="./img/Echo 3 — Official Trailer _ Apple TV+.mp4" controls="true"></video>
<img src="./img/close.png" class="close" onclick="toggleVideo();">
</section>
<div class="peliculas-recomendadas contenedor">
<div class="contenedor-titulo-controles">
<h3>TOP 10 series de accion mas vistas</h3>
<div class="indicadores"></div>
</div>
<div class="contenedor-principal">
<button role="button" id="flecha-izquierda" class="flecha-izquierda"><i class="fas fa-angle-left"></i></button>
<div class="contenedor-carousel">
<div class="carousel">
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=2kOMw4mm2mU" target="_blank">
<img loading="lazy" src="img/rueda.jpg" alt="">
</a>
<p>Morbius</p>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=S4NptaARZiU" target="_blank">
<img loading="lazy" src="img/citadel.jpg" alt="">
</a>
<p>killers genuine</p>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=YYW64RgFdxk" target="_blank">
<img loading="lazy" src="img/station.jpg" alt="">
</a>
<p>station 19</p>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=ETY44yszyNc" target="_blank">
<img loading="lazy" src="img/Captura de pantalla 2023-09-20 200740.png" alt="">
</a>
<p>sky </p>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=-WYdUaK54fU" target="_blank">
<img loading="lazy" src="img/vvv.png" alt="">
</a>
<p>blacklist</p>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=kLw1UrDqC9Q" target="_blank">
<img loading="lazy" src="img/anillos.avif" alt="">
</a>
<p>anillos de poder</p>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=fH3gc-kr8Rc" target="_blank">
<img loading="lazy" src="img/mar.jpg" alt="">
</a>
<p>Capina marvel </p>
</div>
</div>
<button role="button" id="flecha-derecha" class="flecha-derecha"><i class="fas fa-angle-right"></i></button>
</div>
</div>
</main>
<script>
function toggleVideo(){
const trailer= document.querySelector(".trailer");
const video = document.querySelector("video");
trailer.classList.toggle("active");
video.currentTime=0;
video.pause();
}
</script>
<script src="https://kit.fontawesome.com/2c36e9b7b1.js" crossorigin="anonymous"></script>
<script src="js/main.js"></script>
<script>
function redireccionar() {
var seleccion = document.getElementById("categorias").value;
if (seleccion) {
window.location.href = seleccion; // Redirige a la página de categoría seleccionada
}
}
</script>
<script src="js/buscador.js"></script>
</body>
</html>