-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
168 lines (156 loc) · 5.59 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Watched Movies</title>
<!-- Bootstrap and CSS Links -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./css/style.css" />
<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=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap"
rel="stylesheet"
/>
<script
src="https://kit.fontawesome.com/e1c45fbebb.js"
crossorigin="anonymous"
></script>
</head>
<body>
<!-- Header Section -->
<header class="header">
<div class="container">
<a href="#home" class="logo">
<img src="./img/Movie-logo.png" alt="Logo" />
</a>
<button class="menu-open-btn" id="menu-open-btn">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</button>
<nav class="navbar">
<div class="navbar-top">
<button class="menu-close-btn" id="menu-close-btn">x</button>
</div>
<ul class="navbar-list">
<li><a href="#home">Home</a></li>
<li><a href="#movies">My Movies</a></li>
<li><a href="#suggestions">Suggestions</a></li>
</ul>
</nav>
</div>
</header>
<!-- Hero Section -->
<main id="home">
<section class="hero-area hero-bg">
<div class="container">
<div class="row">
<div>
<div class="hero-content">
<h6 class="sub-title">My Movie Diary</h6>
<p>
Welcome to my personal collection of movies I've enjoyed (or
at least the ones I remember). This is just a fun little list
of my favorite films, TV shows, and more!
</p>
</div>
<div class="search">
<label class="search-label">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="search-icon">
<path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z" />
</svg>
<input
type="text"
placeholder=""
id="movie-search-box"
oninput="fetchMoviesFromWatchlist(currentPage)"
/>
<span class="placeholder">Search for a movie</span>
</label>
</div>
</div>
</div>
</div>
</section>
<!-- Movies Section -->
<section id="movies" class="watched-movie">
<div class="container">
<div class="loader" style="display: none;">Loading...</div>
<div class="row movies-list">
<!-- This section will dynamically populate with movie content -->
</div>
<div class="pagination">
<button class="prev-btn">Previous</button>
<button class="next-btn">Next</button>
</div>
</div>
</section>
<!-- Suggestion Box Section -->
<section id="suggestions" class="suggestions-area">
<div class="container">
<div class="suggestions-inner-wrap">
<div class="row align-items-center">
<div class="col-lg-6">
<div class="suggestions-content">
<h4>Suggest a Movie</h4>
<p>
Got a great movie or show suggestion for me? I'm always
looking to expand my collection. Drop your suggestion below!
</p>
</div>
</div>
<div class="col-lg-6">
<form action="./successPage.html" class="suggestions-form" data-netlify="true" >
<input
type="text"
name="suggestions"
required
placeholder="Your suggestion..."
/>
<button class="btn">Submit</button>
</form>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Footer Section -->
<footer class="footer">
<p>
This is a list of the movies I've watched. Check out the source code here
<a href="https://github.com/Bridgetamana/Movie-list" target="_blank">GitHub</a>.
</p>
</footer>
<a href="#" class="scroll-up"
><svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="scroll-up-icon"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="m4.5 15.75 7.5-7.5 7.5 7.5"
/>
</svg>
</a>
<!-- Bootstrap JS and Custom Script -->
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
<script src="./js/script.js"></script>
</body>
</html>