-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
108 lines (103 loc) · 3.46 KB
/
index.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
<!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" />
<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:wght@300;400;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="lib/swiper.css" />
<link rel="stylesheet" href="lib/fontawesome.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/spinner.css" />
<script src="lib/swiper.js"></script>
<script type="module" src="js/script.js" defer></script>
<title>Flixx</title>
<body>
<header class="main-header">
<div class="container">
<div class="logo"><a href="/">FLIXX</a></div>
<nav>
<ul>
<li>
<a class="nav-link" href="/">Movies</a>
</li>
<li>
<a class="nav-link" href="/shows.html">TV Shows</a>
</li>
</ul>
</nav>
</div>
</header>
<!-- Now Playing Section -->
<section class="now-playing">
<h2>Now Playing</h2>
<div class="swiper">
<div class="swiper-wrapper">
<!-- <div class="swiper-slide">
<a href="movie-details.html?id=1">
<img src="./images/no-image.jpg" alt="Movie Title" />
</a>
<h4 class="swiper-rating">
<i class="fas fa-star text-secondary"></i> 8 / 10
</h4>
</div> -->
</div>
</div>
</section>
<!-- Search Movies -->
<section class="search">
<div class="container">
<div id="alert"></div>
<form action="/search.html" class="search-form">
<!-- movies and shows radio box -->
<div class="search-radio">
<input type="radio" id="movie" name="type" value="movie" checked />
<label for="movies">Movies</label>
<input type="radio" id="tv" name="type" value="tv" />
<label for="shows">TV Shows</label>
</div>
<div class="search-flex">
<input
type="text"
name="search-term"
id="search-term"
placeholder="Enter search term"
/>
<button class="btn" type="submit">
<i class="fas fa-search"></i>
</button>
</div>
</form>
</div>
</section>
<!-- Popular Movies -->
<section class="container">
<h2>Popular Movies</h2>
<div id="popular-movies" class="grid">
</div>
</section>
<!-- Footer -->
<footer class="main-footer">
<div class="container">
<div class="logo"><span>FLIXX</span></div>
<div class="social-links">
<a href="https://www.facebook.com" target="_blank"
><i class="fab fa-facebook-f"></i
></a>
<a href="https://www.twitter.com" target="_blank"
><i class="fab fa-twitter"></i
></a>
<a href="https://www.instagram.com" target="_blank"
><i class="fab fa-instagram"></i
></a>
</div>
</div>
</footer>
<div class="spinner"></div>
</body>
</html>