-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
104 lines (83 loc) · 4.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CinaSearch</title>
<!-- STYLES -->
<!-- Bulma style sheet -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.1/css/bulma.min.css">
<!-- custom style sheet -->
<link rel="stylesheet" href="./assets/css/style.css" />
<!-- Google fonts -->
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins&display=swap" rel="stylesheet">
<!-- font icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css">
</head>
<body>
<!-- NAVBAR -->
<nav id="navbar" class="navbar" role="navigation" aria-label="main navigation">
<!-- title/logo section -->
<a href="" id="page-title" class="navbar-brand-desktop">
<h1 class="navbar-item mx-4 px-6 navbar-title">Cina<i class="fas fa-film film-icon"></i>Search</h1>
</a>
<!-- navbar search form -->
<div id="form-container" class="navbar-end">
<form id="search-form" class="navbar-item navbar-form mx-4 px-6">
<!-- search input -->
<input id="search-input" class="search-input" name="movie-input" type="text" placeholder="Search for a movie" aut
ofocus="true" />
<!-- submit button -->
<button id="search-button" class="search-button" type="submit" >
<i class="fas fa-search"></i>
</button>
</form>
</div>
</nav>
<!-- MOVIE INFO SECTION -->
<main id="mainId" class="section movie-section" style="min-height: 100vh">
<!-- SIDE BAR: watch list -->
<aside class="watch-list-section">
<h3 id="watch-list-title" class="title is-4 mt-5 mb-1 has-text-light">Watch List</h3>
<ul id="watch-list" class="watch-list has-text-dark py-3">
<!-- watch list items (note: in order to maintain styles for each item, use the span id as an element selector)-->
</ul>
</aside>
<!-- css-specific div containers -->
<div class="container mx-2 mr-6 my-3">
<div class="columns is-centered">
<!-- COLUMN 1: movie poster section -->
<div class="column is-5 movie-image-section has-text-centered mt-5" id = "img-container">
<!-- poster image -->
</div>
<!-- COLUMN 2: movie summary section -->
<div id="movie-info-section" class="column is-7 has-text-light movie-info-section mt-5">
<!-- movie title -->
<h2 id="movie-title" class="is-title is-size-3 my-5">
</h2>
<div id="button-container" class="buttons">
<!-- watch trailer button/link -->
<button id="watch-trailer-button" type="button" class="watch-trailer-button">
<i class="fas fa-play play-icon"></i>
<span class="watch-trailer-text">Watch Trailer</span>
</button>
<!-- watch list button -->
<button id="watch-list-button" type="button" class="watch-list-button" onclick="displayWatchList()">
<i class="fas fa-plus-circle add-icon"> </i>
<span class="watch-list-text">Add to Watch List</span>
</button>
</div>
<!-- movie details (NOTE: if possible, use span tag ids for element selectors) -->
<div id="info-container">
</div>
<div id="player"></div>
</div>
</div>
</div>
</main>
<script src="https://apis.google.com/js/api.js"></script>
<!-- JAVASCRIPT -->
<script src="./assets/js/script.js"></script>
</body>
</html>