-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
409 lines (373 loc) · 22.8 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
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
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Spotify</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous"/>
<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://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="shortcut icon" href="./assets/img/favicon.ico" type="image/x-icon">
</head>
<body class="overflow-hidden bg-dark-blue">
<div class="container-fluid d-flex px-0">
<!-- Left sidebar -->
<nav id="sidebar" class="d-flex justify-content-between flex-column fixed-left flex-shrink-0 px-0 text-grey bg-black">
<div class="wrapper">
<!-- Logo -->
<a href="/" id="logo" class="d-flex align-items-center py-3 pl-3 disappear">
<img src="./assets/img/logo.svg" class="w-75" alt="Spotify logo">
</a>
<!-- /Logo -->
<!-- Logo for XS devices -->
<a class="d-none appear mb-4" href="/">
<img src="./assets/img/logo-small.svg" alt="Small Spotify logo">
</a>
<!-- /Logo for XS devices -->
<!-- Sidebar options -->
<ul id="sidebar_options" class="px-0 disappear">
<li class="position-relative pl-3 mb-2">
<a class="d-flex align-items-center" href="#">
<img id="home" src="./assets/img/home.svg" alt="Icon depicting a house">
<span class="ml-2 text-white">Home</span>
</a>
</li>
<li class="pl-3 mb-2">
<a class="d-flex align-items-center" href="#">
<img src="./assets/img/search.svg" alt="Icon depicting a magnifying glass">
<span class="ml-2">Cerca</span>
</a>
</li>
<li class="pl-3 mb-2">
<a class="d-flex align-items-center" href="#">
<img src="./assets/img/libreria.svg" class="img-fluid" alt="Icon depicting three vertical books">
<span class="ml-2">La tua libreria</span>
</a>
</li>
</ul>
<!-- /Sidebar options -->
<!-- Sidebar options for XS devices -->
<div class="d-none appear">
<a href="#" class="d-block mb-3">
<img src="./assets/img/home.svg" alt="Icon depicting a house">
</a>
<a href="#" class="d-block mb-3">
<img src="./assets/img/search.svg" alt="Icon depicting a magnifying glass">
</a>
<a href="#" class="d-block mb-3">
<img src="./assets/img/libreria.svg" class="img-fluid" alt="Icon depicting three vertical books">
</a>
</div>
<!-- /Sidebar options for XS devices -->
<!-- Playlist options -->
<ul id="playlist_options" class="pl-3 pr-0 disappear">
<li>
<div class="text-uppercase text-white">Playlist</div>
</li>
<li class="my-3">
<a href="#" class="create_playlist d-flex align-items-center">
<div class="d-flex justify-content-center align-items-center square text-black bg-grey">
<i class="fas fa-plus"></i>
</div>
<div class="ml-2">Crea Playlist</div>
</a>
</li>
<li id="playlist_entries">
<ul class="px-0">
<li class="mb-3">
<a id="playlist_1" href="#">Nome Playlist</a>
</li>
<li class="my-3">
<a id="playlist_2" href="#">Nome Playlist</a>
</li>
<li class="my-3">
<a id="playlist_3" href="#">Nome Playlist</a>
</li>
<li class="my-3">
<a id="playlist_4" href="#">Nome Playlist</a>
</li>
<li class="my-3">
<a id="playlist_5" href="#">Nome Playlist</a>
</li>
<li class="my-3">
<a id="playlist_6" href="#">Nome Playlist</a>
</li>
<li>
<a id="playlist_7" href="#">Nome Playlist</a>
</li>
</ul>
</li>
</ul>
<!-- /Playlist options -->
</div>
<!-- Profile options -->
<div id="profile" class="d-flex flex-column disappear">
<a href="#" class="d-flex align-items-center mx-3 pb-2 border-bottom border-grey">
<img src="./assets/img/download.svg" alt="Icon depicting an arrow pointing down inside a circle">
<div class="ml-3">Installa app</div>
</a>
<div id="user" class="d-flex align-items-center mt-3 mb-2 pl-3">
<div class="user_img d-flex justify-content-center align-items-center bg-grey rounded-circle"></div>
<div id="profile_name" class="text-white ml-3">John Doe</div>
</div>
</div>
<!-- /Profile options -->
<!-- Profile options for XS devices -->
<div id="profile-xs" class="d-none appear-flex flex-column align-items-center">
<a href="#" class="mb-3">
<img src="./assets/img/download.svg" alt="Icon depicting an arrow pointing down inside a circle">
</a>
<a href="#" class="user_img d-flex justify-content-center align-items-center bg-grey rounded-circle"></a>
</div>
<!-- /Profile options for XS devices -->
</nav>
<!-- /Left sidebar -->
<!-- App content -->
<main class="d-flex flex-column w-100 px-0 text-grey">
<!-- Fixed upgrade bar -->
<div id="upgrade_bar" class="d-flex justify-content-end align-items-center fixed-top bg-fading-black">
<a href="#" class="btn rounded-pill border border-white mr-3 px-5 bg-black text-white text-uppercase">Effettua l'upgrade</a>
</div>
<!-- /Fixed upgrade bar -->
<!-- Song filters and categories -->
<ul id="filters" class="d-flex justify-content-center flex-wrap px-2 pt-4 mb-0 text-uppercase">
<li class="mb-5 mr-4">
<a class="position-relative" href="#">In evidenza</a>
</li>
<li class="mb-5 mr-4">
<a href="#">Podcast</a>
</li>
<li class="mb-5 mr-4">
<a href="#">Classifiche</a>
</li>
<li class="mb-5 mr-4">
<a href="#">Generi e mood</a>
</li>
<li class="mb-5 mr-4">
<a href="#">Nuove uscite</a>
</li>
<li class="mb-5 mr-4">
<a href="#">Scopri</a>
</li>
</ul>
<!-- /Song filters and categories -->
<!-- "Recently played" row of playlists -->
<div id="recent" class="d-flex flex-column pl-3 pr-1">
<h1 class="pl-2 text-white">Recently played</h1>
<div class="playlist_row container-fluid d-flex my-4">
<div class="row w-100">
<div class="playlist col-6 col-md-3 col-lg-2 d-flex flex-column mb-3 px-2">
<a class="position-relative" href="#">
<img class="img-fluid" src="./assets/img/metal_lifting.jpg" alt="">
<div class="playlist_overlay position-absolute d-none w-100 h-100 bg-fading-black">
<i class="position-absolute far fa-play-circle"></i>
</div>
</a>
<a href="#">
<h2 class="mt-3 text-white text-center">Heavy Metal</h2>
</a>
<a href="#" class="text-center">
<span id="heavymetal">Subtitle</span>
</a>
</div>
<div class="playlist col-6 col-md-3 col-lg-2 d-flex flex-column mb-3 px-2">
<a class="position-relative" href="#">
<img class="img-fluid" src="./assets/img/stranger.jpeg" alt="">
<div class="playlist_overlay position-absolute d-none w-100 h-100 bg-fading-black">
<i class="position-absolute far fa-play-circle"></i>
</div>
</a>
<a href="#">
<h2 class="mt-3 text-white text-center">Stranger Things, Vol. 1 (a Netflix Original Series Soundtrack)</h2>
</a>
<a href="#" class="text-center">
<span id="strangerthings">Kyle Dixon & Michael Stein</span>
</a>
</div>
<div class="playlist col-6 col-md-3 col-lg-2 d-flex flex-column mb-3 px-2">
<a class="position-relative" href="#">
<img class="img-fluid" src="./assets/img/aquietplace.jpeg" alt="">
<div class="playlist_overlay position-absolute d-none w-100 h-100 bg-fading-black">
<i class="position-absolute far fa-play-circle"></i>
</div>
</a>
<a href="#">
<h2 class="mt-3 text-white text-center">A quiet place</h2>
</a>
<a href="#" class="text-center">
<span id="aquietplace">Subtitle</span>
</a>
</div>
<div class="playlist col-6 col-md-3 col-lg-2 d-flex flex-column mb-3 px-2">
<a class="position-relative" href="#">
<img class="img-fluid" src="./assets/img/split.jpeg" alt="">
<div class="playlist_overlay position-absolute d-none w-100 h-100 bg-fading-black">
<i class="position-absolute far fa-play-circle"></i>
</div>
</a>
<a href="#">
<h2 class="mt-3 text-white text-center">Split</h2>
</a>
<a href="#" class="text-center">
<span id="split">Subtitle</span>
</a>
</div>
<div class="playlist col-6 col-md-3 col-lg-2 d-flex flex-column mb-3 px-2">
<a class="position-relative" href="#">
<img class="img-fluid" src="./assets/img/cure.jpeg" alt="">
<div class="playlist_overlay position-absolute d-none w-100 h-100 bg-fading-black">
<i class="position-absolute far fa-play-circle"></i>
</div>
</a>
<a href="#">
<h2 class="mt-3 text-white text-center">A cure for wellness</h2>
</a>
<a href="#" class="text-center">
<span id="acureforwellness">Subtitle</span>
</a>
</div>
<div class="playlist col-6 col-md-3 col-lg-2 d-flex flex-column mb-3 px-2">
<a class="position-relative" href="#">
<img class="img-fluid" src="./assets/img/sinister.jpeg" alt="">
<div class="playlist_overlay position-absolute d-none w-100 h-100 bg-fading-black">
<i class="position-absolute far fa-play-circle"></i>
</div>
</a>
<a href="#">
<h2 class="mt-3 text-white text-center">Sinister</h2>
</a>
<a href="#" class="text-center">
<span id="sinister">Subtitle</span>
</a>
</div>
</div>
</div>
</div>
<!-- /"Recently played" row of playlists -->
<!-- "Created for you" row of playlists -->
<div id="foryou" class="d-flex flex-column pl-3 pr-1">
<h1 id="created_for" class="pl-2 text-white">Creato per John Doe</h1>
<span class="pl-2">Più ascolti, più saranno accurati i suggerimenti.</span>
<div class="playlist_row container-fluid d-flex my-4">
<div class="row w-100">
<div class="playlist col-6 col-md-3 col-lg-2 d-flex flex-column mb-3 px-2">
<a class="position-relative" href="#">
<img class="img-fluid" src="./assets/img/radar.jpeg" alt="">
<div class="playlist_overlay position-absolute d-none w-100 h-100 bg-fading-black">
<i class="position-absolute far fa-play-circle"></i>
</div>
</a>
<a href="#">
<h2 class="mt-3 text-white text-center">Release Radar</h2>
</a>
</div>
<div class="playlist col-6 col-md-3 col-lg-2 d-flex flex-column mb-3 px-2">
<a class="position-relative" href="#">
<img class="img-fluid" src="./assets/img/mixdaily.jpeg" alt="">
<div class="playlist_overlay position-absolute d-none w-100 h-100 bg-fading-black">
<i class="position-absolute far fa-play-circle"></i>
</div>
</a>
<a href="#">
<h2 class="mt-3 text-white text-center">Daily Mix 1</h2>
</a>
</div>
</div>
</div>
</div>
<!-- /"Created for you" row of playlists -->
<!-- "Most popular artists" row of playlists -->
<div id="popular" class="d-flex flex-column pl-3 pr-1">
<h1 class="pl-2 text-white">Artisti più popolari</h1>
<span class="pl-2">Più ascolti, più saranno accurati i suggerimenti.</span>
<div class="playlist_row container-fluid d-flex my-4">
<div class="row w-100">
<div class="playlist col-6 col-md-3 col-lg-2 d-flex flex-column mb-3 px-2">
<a class="position-relative" href="#">
<img class="img-fluid rounded-circle" src="./assets/img/youg.jpeg" alt="">
<div class="playlist_overlay position-absolute d-none w-100 h-100 bg-fading-black rounded-circle">
<i class="position-absolute far fa-play-circle"></i>
</div>
</a>
<a href="#">
<h2 class="mt-3 text-white text-center">Lana del Rey</h2>
</a>
</div>
<div class="playlist col-6 col-md-3 col-lg-2 d-flex flex-column mb-3 px-2">
<a class="position-relative" href="#">
<img class="img-fluid rounded-circle" src="./assets/img/einaudi.jpeg" alt="">
<div class="playlist_overlay position-absolute d-none w-100 h-100 bg-fading-black rounded-circle">
<i class="position-absolute far fa-play-circle"></i>
</div>
</a>
<a href="#">
<h2 class="mt-3 text-white text-center">Ludovico Einaudi</h2>
</a>
</div>
</div>
</div>
</div>
<!-- /"Most popular artists" row of playlists -->
</main>
<!-- /App content -->
<!-- Now-playing bar -->
<footer id="now_playing" class="d-flex justify-content-between align-items-center px-sm-3 fixed-bottom bg-dark-grey">
<!-- Left section (current song) -->
<div id="song_info" class="d-flex align-items-center">
<a href="#">
<img class="img-fluid" src="./assets/img/sinister.jpeg" alt="">
</a>
<div class="disappear ml-2 mr-4">
<a href="#" class="d-block text-white">Sinister</a>
<a href="#" id="current_song" class="text-grey">Nome Brano</a>
</div>
<div class="disappear d-flex flex-wrap">
<a href="#" class="mr-3">
<i class="far fa-heart"></i>
</a>
<a href="#">
<i class="far fa-folder"></i>
</a>
</div>
</div>
<!-- /Left section (current song) -->
<!-- Central section (media controls) -->
<div class="d-flex flex-column text-white w-50 mx-2 mx-sm-4">
<div id="media_icons" class="d-flex justify-content-center align-items-center mb-3">
<i class="mr-2 mr-sm-4 fas fa-random"></i>
<i class="mr-2 mr-sm-4 fas fa-step-backward"></i>
<i class="mr-2 mr-sm-4 px-2 far fa-play-circle"></i>
<i class="mr-2 mr-sm-4 fas fa-step-forward"></i>
<i class="fas fa-undo"></i>
</div>
<div id="media_bar" class="d-flex align-items-center">
<span class="font-weight-normal">0:25</span>
<div id="progress_bar" class="mx-4 rounded-pill">
<div class="slider position-relative w-25 h-100 rounded-pill">
<div class="slider_handle position-absolute d-none rounded-circle"></div>
</div>
</div>
<span class="font-weight-normal">4:35</span>
</div>
</div>
<!-- /Central section (media controls) -->
<!-- Right section (volume and miscellaneous) -->
<div id="volume" class="disappear align-items-center d-flex text-white">
<i class="mr-3 bi bi-list-ul"></i>
<i class="mr-3 fas fa-desktop"></i>
<i class="mr-3 fas fa-volume-up"></i>
<div id="volume_bar" class="rounded-pill">
<div class="slider position-relative w-25 h-100 rounded-pill">
<div class="slider_handle position-absolute d-none rounded-circle"></div>
</div>
</div>
</div>
<!-- /Right section (volume and miscellaneous) -->
</footer>
<!-- /Now-playing bar -->
</div>
<script src="./assets/js/app.js"></script>
</body>
</html>