-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (66 loc) · 2.39 KB
/
index.html
File metadata and controls
70 lines (66 loc) · 2.39 KB
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
<!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>Netflix Clone</title>
<link rel="stylesheet" href="styles/style.css" />
</head>
<body>
<!-- nav -->
<div id="nav" class="nav">
<img class="nav__logo" src="images/netflix-logo.png" alt="" />
<img class="nav__avatar" src="images/netflix-avatar.png" alt="" />
</div>
<!-- header -->
<header class="banner">
<div class="banner__contents">
<h1 class="banner__title">UPV</h1>
<div class="banner__buttons">
<a href="https://www.upv.es/es">
<button class="banner__button">Web</button>
</a>
<a href="https://github.com/jmararr1/web-page">
<button class="banner__button">Git</button>
</a>
</div>
<h1 class="banner__description">
Tras un cuatrimestre lleno de trabajos y exámenes, cuatro jóvenes terminan el último proyecto, no sin ayuda de su profesor Juan Carlos...
</h1>
</div>
<div class="banner--fadeBottom"></div>
</header>
<!-- Netflix Originals -->
<div class="row">
<h2>NETFLIX ORIGINALS</h2>
<div class="row__posters">
<a href="pages/asteroide/asteroide.html">
<img href class="row__poster row__posterLarge" src="images/asteroide.jpg" alt=""/>
</a>
<a href="pages/boson/boson.html">
<img href class="row__poster row__posterLarge" src="images/boson.jpg" alt=""/>
</a>
<a href="pages/butterfly/butterfly.html">
<img href class="row__poster row__posterLarge" src="images/butterfly.jpg" alt=""/>
</a>
<a href="pages/collisions/collisions.html">
<img href class="row__poster row__posterLarge" src="images/collisions.jpg" alt=""/>
</a>
<a href="pages/csv_clon/csv_clon.html">
<img href class="row__poster row__posterLarge" src="images/csv_clon.jpg" alt=""/>
</a>
</div>
</div>
<script>
const nav = document.getElementById('nav');
window.addEventListener('scroll', () => {
if (window.scrollY >= 100) {
nav.classList.add('nav__black');
} else {
nav.classList.remove('nav__black');
}
});
</script>
</body>
</html>