forked from samlobeng/BuildWeek-Spotify
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathartist.html
412 lines (391 loc) · 24.3 KB
/
artist.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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
<!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">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<link rel="stylesheet" href="css/artist.css">
<link rel="stylesheet" href="css/headerFooter.css">
<style>
html {
height: 100%;
}
body {
font-family: 'Exo', 'spoticon', sans-serif;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
main {
background: linear-gradient(#00000000 20%, #000000 45%), url(img/background.webp);
background-size: cover;
background-position: center;
}
</style>
<title>Homepage</title>
</head>
<body class="p-0">
<div class="container-fluid p-0">
<div class="row no-gutters ">
<div class="col-xl-2 col-md-3 col-sm-4 ">
<nav class="spotify-sidebar navbar bg-dark d-flex flex-column align-items-start justify-content-start ">
<a class="navbar-brand mb-4" href="#">
<img class="img-fluid" src="img/spotify-logo-white.png" width="150px">
</a>
<ul class="nav navbar-nav">
<li class="nav-item ">
<p><b><a class="nav-link active" href="#"><i class="fas fa-home"></i> Home</a></b>
<p>
</li>
<li class="nav-item">
<p><b><a class="nav-link" href="#"><i
class="fas fa-search"></i> Search</a></b>
<p>
</li>
<li class="nav-item">
<p><b><a class="nav-link" href="#"><i style="position: relative;left: -0px;"
class="fab fa-spotify"></i> Your
Library</a></b>
<p>
</li>
</ul>
<ul class="nav navbar-nav my-auto w-100 text-center ">
<li class="nav-item d-flex flex-column justify-content-center">
<div class="mb-3 d-flex flex-row"><a class="text-white"> <i
class="fas fa-arrow-circle-down "></i> Install App </a></div>
<div class="mb-3 d-flex flex-row" style="border-top: 1px solid whitesmoke"></div>
<div class="mb-3 d-flex flex-row align-items-center mt-5 ">
<img src="https://via.placeholder.com/50" width="50"
style="border-radius:50%; overflow:hidden">
<span class="ml-2 text-white"> <b>Name Surname</b> </span>
</div>
</li>
</ul>
</nav>
</div>
<div class="col-xl-10 col-md-9 col-sm-8">
<main>
<section id="artist-top" class="py-5">
<div class="container">
<div class="row justify-content-center">
<p class="text-white"> 333,000,575 MONTHLY LISTENERS</p>
</div>
<div class="row justify-content-center">
<h1 class="text-white">QUEEN</h1>
</div>
<div class="row flex-row justify-content-center align-items-center">
<button class="artist-button play"> Play</button>
<button class="artist-button follow"> Follow</button>
<a><i class="fa fa-ellipsis-h text-white m-3 " style="font-size: 30px;"></i></a>
</div>
</div>
</section>
<header id="navbar" class="mb-3">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-center" href="#">trending</a>
</li>
<li class="nav-item">
<a class="nav-link text-center" href="#">podcast</a>
</li>
<li class="nav-item">
<a class="nav-link text-center" href="#">moods and genres</a>
</li>
<li class="nav-item">
<a class="nav-link text-center" href="#">new releases</a>
</li>
<li class="nav-item">
<a class="nav-link text-center" href="#">discover</a>
</li>
</ul>
</header>
<div class="mb-3"></div>
<section id="home-cards">
<div class="container">
<h1 style class="animate__animated animate__fadeInTopRight text-white pt-4">Albums</h1>
<div class="animate__animated animate__slideInRight row py-5">
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""><img src="img/album1.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">Bohemian Rhapsody</h6>
<span class="text-white album-artist">Queen</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album2.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">On Air</h6>
<span class="text-white album-artist">Queen</span>
<span class="text-white album-genre">Pop</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album3.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">A Night At The Odeon </h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class=" mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""><img src="img/album4.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">00s Italy</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""><img src="img/album5.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">Cocktail Hour</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album6.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album7.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album8.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album9.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album10.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album11.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album12.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album13.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album14.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album15.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album16.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album17.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""> <img src="img/album19.jpeg" alt="" class="img-fluid"/></a>
<h6 class="text-white album-title">I Love My '90s Hip-Hop</h6>
<span class="text-white album-artist">Muse</span>
<span class="text-white album-genre">Rock</span>
</div>
</div>
</div>
</div>
</section>
</main>
</div>
</div>
</div>
<footer>
<div class="row" id="nowplaying">
<div class="col" id="player-starting-space">
<!-- TODO: add artist variation -->
<div class="row">
<div class="col">
<img src="img/evoracover.jpg" alt="" class="img-fluid">
</div>
<div class="col">
<h6>Besame Mucho</h6>
<p>Cesaria Evora</p>
</div>
<div class="col d-flex">
<div class="col ">
<i class="far fa-heart"></i>
</div>
<div class="col">
<svg width="16" height="20" xmlns="http://www.w3.org/2000/svg">
<g fill="currentColor" fill-rule="evenodd">
<path d="M1 3v9h14V3H1zm0-1h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1z" fill-rule="nonzero"></path>
<path d="M10 8h4v3h-4z"></path>
</g>
</svg>
</div>
</div>
</div>
</div>
<div class="col" id="playercontrols">
<div class="player-controls">
<div class="player-controls_bottons d-flex my-3">
<button class="buttonOne" role="switch" aria-checked="false" aria-label="Enable shuffle"
data-testid="control-button-shuffle" title="Enable shuffle" style="--button-size:32px;">
<svg role="img" height="16" width="16" viewBox="0 0 16 16" class="Svg-ulyrgf-0 dIsYZz">
<path d="M4.5 6.8l.7-.8C4.1 4.7 2.5 4 .9 4v1c1.3 0 2.6.6 3.5 1.6l.1.2zm7.5 4.7c-1.2 0-2.3-.5-3.2-1.3l-.6.8c1 1 2.4 1.5 3.8 1.5V14l3.5-2-3.5-2v1.5zm0-6V7l3.5-2L12 3v1.5c-1.6 0-3.2.7-4.2 2l-3.4 3.9c-.9 1-2.2 1.6-3.5 1.6v1c1.6 0 3.2-.7 4.2-2l3.4-3.9c.9-1 2.2-1.6 3.5-1.6z"></path>
</svg>
</button>
<button class="buttonTwo" aria-label="Previous" title="Previous" style="--button-size:32px;">
<svg role="img" height="16" width="16" viewBox="0 0 16 16" class="Svg-ulyrgf-0 dIsYZz">
<path d="M13 2.5L5 7.119V3H3v10h2V8.881l8 4.619z"></path>
</svg>
</button>
<button class="buttonThree" aria-label="Play" data-testid="control-button-play" title="Play"
style="--button-size:32px;">
<svg role="img" height="16" width="16" viewBox="0 0 16 16" class="Svg-ulyrgf-0 dIsYZz">
<path d="M4.018 14L14.41 8 4.018 2z"></path>
</svg>
</button>
<button class="buttonFour" aria-label="Next" data-testid="control-button-skip-forward" title="Next"
style="--button-size:32px;">
<svg role="img" height="16" width="16" viewBox="0 0 16 16" class="Svg-ulyrgf-0 dIsYZz">
<path d="M11 3v4.119L3 2.5v11l8-4.619V13h2V3z"></path>
</svg>
</button>
<button class="buttonFive" role="checkbox" aria-checked="false" aria-label="Enable repeat"
data-testid="control-button-repeat" title="Enable repeat" style="--button-size:32px;">
<svg role="img" height="16" width="16" viewBox="0 0 16 16" class="Svg-ulyrgf-0 dIsYZz">
<path d="M5.5 5H10v1.5l3.5-2-3.5-2V4H5.5C3 4 1 6 1 8.5c0 .6.1 1.2.4 1.8l.9-.5C2.1 9.4 2 9 2 8.5 2 6.6 3.6 5 5.5 5zm9.1 1.7l-.9.5c.2.4.3.8.3 1.3 0 1.9-1.6 3.5-3.5 3.5H6v-1.5l-3.5 2 3.5 2V13h4.5C13 13 15 11 15 8.5c0-.6-.1-1.2-.4-1.8z"></path>
</svg>
</button>
</div>
<div class="playback-bar" data-testid="playback-progressbar">
<div class="playback-bar__progress-time _5f899d811cf206c5925f6450626fb0aa-scss"
data-testid="playback-position" as="div" style="color: rgb(179, 179, 179);">0:00
</div>
<div class="progress-bar-wrapper" data-testid="playback-progressbar">
<div class="progress-bar" data-testid="progress-bar" style="--progress-bar-transform:0%;">
<div class="middle-align progress-bar__bg">
<div class="progress-bar__fg_wrapper">
<div class="progress-bar__fg" style="transform: translateX(-23%);">
</div>
</div>
<button aria-label="Change progress" class="middle-align progress-bar__slider"
style="left: 0%;"></button>
</div>
</div>
</div>
<div class="_3a5249d5858e3e9a297d855ad04d4be6-scss _5f899d811cf206c5925f6450626fb0aa-scss" as="div"
data-testid="playback-duration" style="color: rgb(179, 179, 179);">4:55
</div>
</div>
</div>
</div>
<div class="col" id="extracontrols">
<div class="ExtraControls">
<div class="GlueDropTarget GlueDropTarget--tracks GlueDropTarget--episodes">
<div class="control-button-wrapper">
<button class="control-button spoticon-queue-16" data-testid="control-button-undefined"
aria-label="Queue" title="Queue"></button>
</div>
</div>
<div class="ExtraControls__connect-device-picker">
<span class="connect-device-picker">
<button class="spoticon-devices-16 control-button" aria-label="Connect to a device"
title="Connect to a device"></button>
</span>
</div>
<div class="volume-bar" data-testid="volume-bar" dir="ltr">
<button class="volume-bar__icon-button control-button" aria-label="Mute"
aria-describedby="volume-icon" title="Mute">
<svg role="presentation" height="16" width="16" aria-label="Volume high" id="volume-icon"
viewBox="0 0 16 16" class="Svg-ulyrgf-0 dIsYZz">
<path d="M12.945 1.379l-.652.763c1.577 1.462 2.57 3.544 2.57 5.858s-.994 4.396-2.57 5.858l.651.763a8.966 8.966 0 00.001-13.242zm-2.272 2.66l-.651.763a4.484 4.484 0 01-.001 6.397l.651.763c1.04-1 1.691-2.404 1.691-3.961s-.65-2.962-1.69-3.962zM0 5v6h2.804L8 14V2L2.804 5H0zm7-1.268v8.536L3.072 10H1V6h2.072L7 3.732z"></path>
</svg>
</button>
</div>
<div class="progress-bar-wrapper">
<div class="progress-bar" data-testid="progress-bar" style="--progress-bar-transform:100%;">
<div class="middle-align progress-bar__bg">
<div class="progress-bar__fg_wrapper">
<div class="progress-bar__fg" style="transform: translateX(0%);"></div>
</div>
<button aria-label="Change volume" class="middle-align progress-bar__slider"
style="left: 100%;"></button>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
<script src="https://kit.fontawesome.com/c3e37fe131.js" crossorigin="anonymous"></script>
<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/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
crossorigin="anonymous"></script>
<script src="script.js"></script>
</body>
</html>