-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathComedia.html
151 lines (136 loc) · 6.37 KB
/
Comedia.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
loading="lazy" <!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/estilocomedia.css">
<link rel="stylesheet" href="css/Buscador.css">
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
<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>
<link rel="stylesheet" href="/css/Buscador.css">
</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">hombre vs abeja </h3>
<p class="descripcion">
Un hombre sin hogar que busca trabajo es confundido por una mujer de negocios como su nuevo cuidador de la casa. Sin embargo, las aventuras comienzan cuando es perseguido por una abeja traviesa.
</p>
<a href="#" class="play" onclick="toggleVideo();">
<img loading="lazy" 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/Hombre vs. Abeja (2022) _ Tráiler Oficial Doblado Español Latino.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 Peliculas 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=9yqxX2r-KWo" target="_blank"></a>>
<img loading="lazy" src="img/baymax.jpg" alt="primer trailer">
<p>super hero</p>
</a>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=EPkGBkr4CjQ" target="_blank">
<img loading="lazy" src="img/Boo-Bitch.jpg" alt=""></a>
<p>asombro</p>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=Bo7KIiOs9sY" target="_blank">
<img loading="lazy" src="img/dickinson.jpg" alt=""></a>
<p>la chica de rojo </p>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=l-IEfXlZj1A" target="_blank">
<img src="img/yo-soy-groot-disney-1660123544.jpg" alt=""></a>
<p>groth</p>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=moi0OFuEJZQ" target="_blank">
<img loading="lazy" src="img/tendencia5.png" alt=""></a>
<p>boss baby</p>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=Q8Q70YrIeDM" target="_blank">
<img loading="lazy" src="img/hacks.jpg" alt=""></a>
<p>desierto </p>
</div>
<div class="pelicula">
<a href="https://www.youtube.com/watch?v=B0ePc-h8SRg" target="_blank">
<img loading="lazy" src="img/terapia.jpeg" alt=""></a>
<p>terapia sin filtro</p>
</div>
</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>