-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
99 lines (81 loc) · 3.43 KB
/
home.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
<!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>WishFlix </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=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/home.css">
</head>
<body>
<div id="top"></div>
<nav>
<div class="brand">
<div class="logo">
<h1>WishFlix</h1>
</div>
<a class="profile" href="profile.html">
<svg width=50 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2zM6.023 15.416C7.491 17.606 9.695 19 12.16 19c2.464 0 4.669-1.393 6.136-3.584A8.968 8.968 0 0 0 12.16 13a8.968 8.968 0 0 0-6.137 2.416zM12 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>
</svg>
</a>
<button class="menu">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width=30>
<g>
<path d="M18 18v2H6v-2h12zm3-7v2H3v-2h18zm-3-7v2H6V4h12z"/>
</g>
</svg>
</button>
</div>
<div class="options">
<a href="#top">Home</a>
<a href="search/index.html">Search</a>
<a href="">Favourites</a>
<a class="profile" href="profile.html">
<svg width=50 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2zM6.023 15.416C7.491 17.606 9.695 19 12.16 19c2.464 0 4.669-1.393 6.136-3.584A8.968 8.968 0 0 0 12.16 13a8.968 8.968 0 0 0-6.137 2.416zM12 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>
</svg>
</a>
</div>
</nav>
<section class="category">
<div class="header">
Categories
</div>
<div class="options">
<a href="#" class="option active">All</a>
</div>
</section>
<main>
<section class="popular">
<h2>Trending Movies</h2>
<div class="movies" id="popular-movies-section">
</div>
</section>
</main>
<aside class="details-modal" style="display:none;">
<div class="img">
<img src="img/black-widow.jpg" alt="">
</div>
<div class="text">
<h2 class="modal-movie-name">Black Widow</h2>
<h3>Overview</h3>
<p class="modal-overview">Natasha Romanoff, also known as Black Widow, confronts the darker parts of her ledger when a dangerous conspiracy with ties to her past arises. Pursued by a force that will stop at nothing to bring her down, Natasha must deal with her history as
a spy and the broken relationships left in her wake long before she became an Avenger.</p>
<h3>Ratings</h3>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/>
<path fill="white" d="M12 18.26l-7.053 3.948 1.575-7.928L.587 8.792l8.027-.952L12 .5l3.386 7.34 8.027.952-5.935 5.488 1.575 7.928z"/>
</svg>
<div class="ratings">
<div class="ratings-value">7.9</div>
</div>
</div>
</aside>
<script src="javascript/tmdb.js"></script>
<script src="javascript/jquery.js"></script>
<script src="javascript/home.js"></script>
</body>
</html>