-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
148 lines (141 loc) · 4.88 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no"
/>
<title>Movie APP</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<header>
<div class="navbar navbar-dark bg-dark shadow-sm">
<div class="container">
<a href="#" class="navbar-brand d-flex align-items-center">
<strong>MOVIE</strong>
</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="offcanvas"
data-bs-target="#offcanvasRight"
aria-controls="offcanvasRight"
>
<span class="navbar-toggler-icon"></span>
</button>
</div>
</div>
</header>
<div
class="offcanvas offcanvas-end"
tabindex="-1"
id="offcanvasRight"
aria-labelledby="offcanvasRightLabel"
>
<div class="offcanvas-header">
<h5 id="offcanvasRightLabel">FAVORITE</h5>
<button
type="button"
class="btn-close text-reset"
data-bs-dismiss="offcanvas"
aria-label="Close"
></button>
</div>
<div id="favorite-movies" class="offcanvas-body">
</div>
</div>
<main>
<section id="random-movie" class="py-5 text-center container-fluid">
</section>
<div
class="
container-fluid
d-flex
bg-light
justify-content-center
p-2
"
>
<div
class="btn-group"
id="button-wrapper"
srole="group"
aria-label="Basic radio toggle button group"
>
<input
type="radio"
class="btn-check"
name="btnradio"
id="popular"
autocomplete="off"
checked
/>
<label class="btn btn-outline-dark" for="popular"
>Popular</label
>
<input
type="radio"
class="btn-check"
name="btnradio"
id="upcoming"
autocomplete="off"
/>
<label class="btn btn-outline-dark" for="upcoming"
>Upcoming</label
>
<input
type="radio"
class="btn-check"
name="btnradio"
id="top_rated"
autocomplete="off"
/>
<label class="btn btn-outline-dark" for="top_rated"
>Top rated</label
>
</div>
</div>
<div class="container-fluid d-flex bg-light justify-content-center">
<form
class="form-inline col-6 px-2 d-flex"
onSubmit="return false;"
>
<input
class="form-control m-2"
type="search"
placeholder="Search"
id="search"
/>
<button class="btn btn-dark m-2" type="button" id="submit">
Search
</button>
</form>
</div>
<div class="album py-5 bg-light">
<div class="container">
<div id="film-container" class="row">
</div>
</div>
<div
class="
d-flex
justify-content-center
align-items-center
pt-4
"
>
<button
id="load-more"
type="button"
class="btn btn-lg btn-outline-success"
>
Load more
</button>
</div>
</div>
</main>
<script type="module" src="./src/main.ts"></script>
</body>
</html>