-
Notifications
You must be signed in to change notification settings - Fork 3
/
album_page.html
256 lines (244 loc) · 20 KB
/
album_page.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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<script src="https://kit.fontawesome.com/1205482781.js"></script>
<!-- Bootstrap CSS -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
crossorigin="anonymous"
/>
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Album</title>
</head>
<body>
<div class="container-fluid">
<div class="row">
<!--SIDEBAR VERTICAL-->
<div class="col-2">
<nav
class="navbar navbar-expand-lg navbar-expand-md navbar-white bg-navbar fixed-left justify-content-between"
id="sidebar"
>
<div class="nav-container">
<a class="navbar-brand" href="index.html">
<img
src="logo/Spotify_Logo.png"
alt="Spotify_Logo"
width="131"
height="40"
/>
</a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarNavAltMarkup"
aria-controls="navbarNavAltMarkup"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav">
<ul>
<li>
<a class="nav-item nav-link" href="index.html"
><i class="fas fa-home fa-lg"></i> Home
</a>
</li>
<li>
<a class="nav-item nav-link" href="#"
><i class="fas fa-book-open fa-lg"></i> Your
Library</a
>
</li>
</ul>
</div>
</div>
</div>
<div class="nav-btn">
<button class="btn signup-btn" type="button">Sign Up</button>
<button class="btn login-btn" type="button">Login</button>
<a href="#">Cookie Policy</a> |
<a href="#"> Privacy</a>
</div>
</nav>
</div>
<!--END SIDEBAR VERTICAL-->
<!--MAIN-->
<div class="col-12 mainPage">
<div class="row justify-content-center mb-3">
<div class="col-9 col-lg-11 mainLinks d-none d-md-flex">
<a id="Rock" href="#">ROCK</a>
<a id="Pop" href="#">POP</a>
<a id="Hip Hop" href="#">HIP HOP</a>
<a href="#">NEW RELEASES</a>
<a href="#">DISCOVER</a>
</div>
</div>
<div class="row justify-content-center">
<div id="img-container" class="col-md-3 pt-5 text-center">
<img
src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUTExMVFhUXGRgaGBgYGBoZGhsaGBoXHRgYGBgYHyggGBolHRcaITEhJSkrLi4uGh8zODMsNygtLisBCgoKDg0OGxAQGi0lHyUvLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIAN8A4gMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAAEBQIDBgE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DSkt/vCPWEuCY8FrAVGA/mbHmER30Pf4MF6jX4Y2dAmmBZ2riOSlX1SpHNkxI3h7QdAuYrCxFuiavah8Z8B6XRCpMz9WkYLeRlDliYY0axyS4Aol07LKblJjRdVgbqbQgFhVI+SnTrCb7FDU+Wqm5vKYB6FYWgltaCYsJm11aytvE85QIN7T3q+RECR129FrFaQdRxEReI27+fJXhmaY9e/bol7zEAOMxJ2k9y8KxB5TuE1i0XVKVMmHPaIsRIv48l4cPYR2ACJibc+ZVIxUm+m0/IoqlRIM0yAbzNmmOY59e5EztHhw0TDZF4g+ltkFiKeSQmz2vcYDj42kfY9EHi6c+E67oUjJi2V1RLl5YoNMJRFIcz8yrPeXvqpAff6IfGVAwch9+aBLsvGIGi4aqSO4hHwi53P0QtSo9+pKwy4xzieIsGpnoEsrcTcbNGUIN1OFzKtRRQSOOcTcri6VxEY8iuFf21P/ABt+YVNCiXODRqUbRwDmPBMdl178jdYDZuWEBAVqvaR1WIJ8AlZFygcqLC5U1LiOitVTzCDCJ8R8HUSEE2C6AD3b9dERjXEFw5wQg6TyDIJEbjVE6IrRdEWC6W6rjXXlWnrqgE5SIg2Umcp9VxpgqZZ0tyWFPB3L75d68Bp85tK61gMX+/1Xi+2pWMde+wBBkfY8FNhkS4W+/JVNdJF117osBdY1HaThmImOc/RHUM3wiDadCSP2QTGgxmFuephX0zEjchsCBN40dt5IisZtqmRTjrYRy/RUY+sWloLTERbpN1S2GiZdY2FrT89F5mIeS3M4kev3KYVIiKTT9heUHvfJioI27P7Li2g0z//Z"
class="card-img img-fluid"
alt="Album"
/>
<div class="mt-4 text-center">
<p class="album-title">... All this time</p>
</div>
<div class="text-center">
<p class="artist-name">STING</p>
</div>
<div class="mt-4 text-center">
<button id="btnPlay" class="btn btn-success" type="button">
Play
</button>
</div>
</div>
<div class="col-md-8 p-5">
<div class="row">
<div id="trackList" class="col-md-10 mb-5">
<div id="err"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--END MAIN-->
<!--NAVBAR FLEX-BOTTOM-->
<div class="player container-fluid fixed-bottom bg-container pt-1">
<div class="row flex-nowrap justify-content-between playBar py-3">
<div class="col-auto">
<div class="playerArtistInfo d-flex">
<img />
<div class="d-flex flex-column pl-2">
<h6></h6>
<p></p>
</div>
</div>
</div>
<div class="col-6">
<div class="playerControls w-50 d-flex justify-content-between">
<a href="#">
<img src="playerbuttons/Shuffle.png" alt="shuffle" />
</a>
<a href="#">
<img src="playerbuttons/Previous.png" alt="previous" />
</a>
<a href="#" onclick="">
<img src="playerbuttons/Play.png" alt="play" />
</a>
<a href="#">
<img src="playerbuttons/Next.png" alt="next" />
</a>
<a href="#">
<img src="playerbuttons/Repeat.png" alt="repeat" />
</a>
</div>
<div class="progressContainer d-flex align-items-center">
<span class="currentTime">00:00</span>
<div class="progress w-100" onclick="">
<div
class="progress-bar"
role="progressbar"
aria-valuenow="0"
aria-valuemin="0"
aria-valuemax="100"
>
<audio></audio>
</div>
</div>
<span class="duration">00:00</span>
</div>
</div>
<div class="col-auto mr-3">
<div class="playerVolume">
<i class="fa fa-volume-up" onclick=""></i>
<input type="range" value="100" onchange="" />
</div>
</div>
</div>
</div>
<!--END NAVBAR BOTTOM-->
<script
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
crossorigin="anonymous"
></script>
<script>
const albumArt = (album) => {
console.log(album);
return `
<img
src=${album.cover_medium}
class="card-img img-fluid"
alt="cover image of ${album.label}"
/>
<div class="mt-4 text-center">
<p class="album-title">${album.title}</p>
</div>
<div class="text-center">
<p class="artist-name">${album.artist.name}</p>
</div>
<div class="mt-4 text-center">
<button id="btnPlay" class="btn btn-success" type="button">
Play
</button>`;
};
const song = (song) => {
return `
<div class="py-3 trackHover">
<a
id=${song.id}
href="#"
class="card-title trackHover px-3"
style="color: white"
>${song.title}</a
>
<small class="duration pr-3" style="color: white">
${song.duration}
</small>
</div>
`;
};
window.onload = () => {
let albumId = new URLSearchParams(document.location.search).get(
"albumId"
);
fetch(
"https://striveschool-api.herokuapp.com/api/deezer/album/" + albumId
)
.then((response) => response.json())
.then((albumInfo) => {
const imgContainer = document.getElementById("img-container");
imgContainer.innerHTML = albumArt(albumInfo);
const trackList = document.getElementById("trackList");
albumInfo.tracks.data.forEach((track) => {
trackList.innerHTML += song(track);
});
});
};
</script>
</body>
</html>