forked from samlobeng/BuildWeek-Spotify
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhomepage.html
More file actions
260 lines (243 loc) · 15.5 KB
/
Copy pathhomepage.html
File metadata and controls
260 lines (243 loc) · 15.5 KB
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
<!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/homepage.css">
<link rel="stylesheet" href="css/headerFooter.css">
<style>
html {
height: 100%;
}
body {
background: rgb(24,68,121);
background-image: linear-gradient(128deg, rgba(24,68,121,1) 3%, rgba(32,60,94,1) 29%, rgba(4,8,13,1) 100%);
font-family: 'Exo','spoticon', sans-serif;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
</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 mt-auto mb-5 w-75">
<li class="nav-item">
<a href="login.html"> <button class="auth-button signup"> Sign Up</button></a>
</li>
<li class="nav-item">
<a href="login.html"><button class="auth-button login"> Login</button></a>
</li>
<li class="nav-item d-flex flex-row justify-content-around" >
<a style="font-size:0.8rem" class="nav-link" href="#"> cookie <br> policy </a>
<div style="border-left: 1px solid white"></div>
<a style="font-size:0.8rem" class="nav-link" href="#"> privacy </a>
</li>
</ul>
</nav>
</div>
<div class="col-xl-10 col-md-9 col-sm-8">
<main>
<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">#THROWBACKTHURSDAY</h1>
<div class="animate__animated animate__slideInRight row py-5">
<a href="">
<div class=" mb-4 text-center col-sm-6 col-md-4 col-lg-2">
<div class="album-container">
<a href=""><img src="img/card1.jpeg" alt="" class="img-fluid" /></a>
<h6 class="album-title text-white">Italian Karaoke</h6>
</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/card2.jpeg" alt="" class="img-fluid" /></a>
<h6 class="album-title text-white">Lyricists</h6>
</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/card3.jpeg" alt="" class="img-fluid" /></a>
<h6 class="album-title text-white">Italy's Frequent Rotation</h6>
</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/card4.jpeg" alt="" class="img-fluid" /></a>
<h6 class="album-title text-white">00s Italy</h6>
</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/card5.jpeg" alt="" class="img-fluid" /></a>
<h6 class="album-title text-white">Cocktail Hour</h6>
</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/card6.jpeg" alt="" class="img-fluid" /></a>
<h6 class="album-title text-white">I Love My '90s Hip-Hop</h6>
</div>
</div>
</div>
<h1 class="animate__animated animate__fadeInTopRight text-white pt-4">Classifiche</h1>
<div class="row pt-4">
</div>
<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/top50.jpeg" alt="" class="img-fluid" /></a>
<h6 class="album-title text-white">Top 50 - Global</h6>
</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/top50ar.jpeg" alt="" class="img-fluid" /></a>
<h6 class="album-title text-white">Top 50 - Argentina</h6>
</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/viral.jpeg" alt="" class="img-fluid" /></a>
<h6 class="album-title text-white">Viral - 50 Global</h6>
</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/viral50it.jpeg" alt="" class="img-fluid" /></a>
<h6 class="album-title text-white">Viral 50 - Italy</h6>
</div>
</div>
<div class="mb-4 text-center col-sm-6 col-md-4 col-lg-2">
</div>
</div>
</div>
</section>
</main>
</div>
</div>
</div>
<footer>
<div class="row">
<div class="col" id="player-starting-space">
</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>