-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
285 lines (257 loc) · 17.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spotify</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons+Outlined" rel="stylesheet">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=play_arrow" />
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<audio id="audioPlayer" src="CarryonMyWaywardSon.mp3"></audio>
<div class="main">
<div class="topAppBar">
<div class="spotify_icon">
<svg role="img" viewBox="0 0 24 24" class="spotify_svg" xmlns="http://www.w3.org/2000/svg">
<path
d="M13.427.01C6.805-.253 1.224 4.902.961 11.524.698 18.147 5.853 23.728 12.476 23.99c6.622.263 12.203-4.892 12.466-11.514S20.049.272 13.427.01m5.066 17.579a.717.717 0 0 1-.977.268 14.4 14.4 0 0 0-5.138-1.747 14.4 14.4 0 0 0-5.42.263.717.717 0 0 1-.338-1.392c1.95-.474 3.955-.571 5.958-.29 2.003.282 3.903.928 5.647 1.92a.717.717 0 0 1 .268.978m1.577-3.15a.93.93 0 0 1-1.262.376 17.7 17.7 0 0 0-5.972-1.96 17.7 17.7 0 0 0-6.281.238.93.93 0 0 1-1.11-.71.93.93 0 0 1 .71-1.11 19.5 19.5 0 0 1 6.94-.262 19.5 19.5 0 0 1 6.599 2.165c.452.245.62.81.376 1.263m1.748-3.551a1.147 1.147 0 0 1-1.546.488 21.4 21.4 0 0 0-6.918-2.208 21.4 21.4 0 0 0-7.259.215 1.146 1.146 0 0 1-.456-2.246 23.7 23.7 0 0 1 8.034-.24 23.7 23.7 0 0 1 7.657 2.445c.561.292.78.984.488 1.546m13.612-.036-.832-.247c-1.67-.495-2.14-.681-2.14-1.353 0-.637.708-1.327 2.264-1.327 1.539 0 2.839.752 3.51 1.31.116.096.24.052.24-.098V6.935c0-.097-.027-.15-.098-.203-.83-.62-2.272-1.07-3.723-1.07-2.953 0-4.722 1.68-4.722 3.59 0 2.157 1.371 2.91 3.626 3.546l.973.274c1.689.478 1.998.902 1.998 1.556 0 1.097-.831 1.433-2.07 1.433-1.556 0-3.457-.911-4.35-2.025-.08-.098-.177-.053-.177.062v2.423c0 .097.01.141.08.22.743.814 2.52 1.53 4.59 1.53 2.546 0 4.456-1.485 4.456-3.784 0-1.787-1.052-2.865-3.625-3.635m10.107-1.76c-1.68 0-2.653 1.026-3.219 2.052V9.376c0-.08-.044-.124-.124-.124h-2.22c-.079 0-.123.044-.123.124V20.72c0 .08.044.124.124.124h2.22c.079 0 .123-.044.123-.124v-4.536c.566 1.025 1.521 2.034 3.237 2.034 2.264 0 3.89-1.955 3.89-4.581s-1.644-4.545-3.908-4.545m-.654 6.986c-1.185 0-2.211-1.167-2.618-2.458.407-1.362 1.344-2.405 2.618-2.405 1.211 0 2.051.92 2.051 2.423s-.84 2.44-2.051 2.44m40.633-6.826h-2.264c-.08 0-.115.017-.15.097l-2.282 5.483-2.29-5.483c-.035-.08-.07-.097-.15-.097h-3.661v-.584c0-.955.645-1.397 1.476-1.397.496 0 1.035.256 1.415.486.089.053.15-.008.115-.088l-.796-1.901a.26.26 0 0 0-.124-.133c-.389-.203-1.025-.38-1.644-.38-1.875 0-2.954 1.432-2.954 3.254v.743h-1.503c-.08 0-.124.044-.124.124v1.768c0 .08.044.124.124.124h1.503v6.668c0 .08.044.123.124.123h2.264c.08 0 .124-.044.124-.123v-6.668h1.936l2.812 6.11-1.512 3.325c-.044.098.009.142.097.142h2.414c.08 0 .116-.018.15-.097l4.997-11.355c.035-.08-.009-.141-.097-.141M54.964 9.04c-2.865 0-4.837 2.025-4.837 4.616 0 2.573 1.971 4.616 4.837 4.616 2.856 0 4.846-2.043 4.846-4.616 0-2.591-1.99-4.616-4.846-4.616m.008 7.065c-1.37 0-2.343-1.043-2.343-2.45 0-1.405.973-2.449 2.343-2.449 1.362 0 2.335 1.043 2.335 2.45 0 1.406-.973 2.45-2.335 2.45m33.541-6.334a1.24 1.24 0 0 0-.483-.471 1.4 1.4 0 0 0-.693-.17q-.384 0-.693.17a1.24 1.24 0 0 0-.484.471q-.174.302-.174.681 0 .375.174.677.175.3.484.471t.693.17.693-.17.483-.471.175-.676q0-.38-.175-.682m-.211 1.247a1 1 0 0 1-.394.39 1.15 1.15 0 0 1-.571.14 1.16 1.16 0 0 1-.576-.14 1 1 0 0 1-.391-.39 1.14 1.14 0 0 1-.14-.566q0-.316.14-.562t.391-.388.576-.14q.32 0 .57.14.253.141.395.39t.142.565q0 .312-.142.56m-19.835-5.78c-.85 0-1.468.6-1.468 1.396s.619 1.397 1.468 1.397c.866 0 1.485-.6 1.485-1.397 0-.796-.619-1.397-1.485-1.397m19.329 5.19a.31.31 0 0 0 .134-.262q0-.168-.132-.266-.132-.099-.381-.099h-.588v1.229h.284v-.489h.154l.374.489h.35l-.41-.518a.5.5 0 0 0 .215-.084m-.424-.109h-.26v-.3h.27q.12 0 .184.036a.12.12 0 0 1 .065.116.12.12 0 0 1-.067.111.4.4 0 0 1-.192.037M69.607 9.252h-2.263c-.08 0-.124.044-.124.124v8.56c0 .08.044.123.124.123h2.263c.08 0 .124-.044.124-.123v-8.56c0-.08-.044-.124-.124-.124m-3.333 6.605a2.1 2.1 0 0 1-1.053.257c-.725 0-1.185-.425-1.185-1.362v-3.484h2.211c.08 0 .124-.044.124-.124V9.376c0-.08-.044-.124-.124-.124h-2.21V6.944c0-.097-.063-.15-.15-.08l-3.954 3.113c-.053.044-.07.088-.07.16v1.007c0 .08.044.124.123.124h1.539v3.855c0 2.087 1.203 3.06 2.918 3.06.743 0 1.46-.194 1.884-.442.062-.035.07-.07.07-.133v-1.68c0-.088-.044-.115-.123-.07"
transform="translate(-0.95,0)"></path>
</svg>
</div>
<div class="mid_section">
<div class="home_btn">
<button id="home_btn">
<svg role="icon" viewBox="0 0 24 24" class="svg home" xmlns="http://www.w3.org/2000/svg">
<path
d="M12.5 3.247a1 1 0 0 0-1 0L4 7.577V20h4.5v-6a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v6H20V7.577l-7.5-4.33zm-2-1.732a3 3 0 0 1 3 0l7.5 4.33a2 2 0 0 1 1 1.732V21a1 1 0 0 1-1 1h-6.5a1 1 0 0 1-1-1v-6h-3v6a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7.577a2 2 0 0 1 1-1.732l7.5-4.33z">
</path>
</svg>
</button>
</div>
<div class="search_container">
<svg role="img" viewBox="0 0 24 24" class="svg search" xmlns="http://www.w3.org/2000/svg">
<path
d="M10.533 1.27893C5.35215 1.27893 1.12598 5.41887 1.12598 10.5579C1.12598 15.697 5.35215 19.8369 10.533 19.8369C12.767 19.8369 14.8235 19.0671 16.4402 17.7794L20.7929 22.132C21.1834 22.5226 21.8166 22.5226 22.2071 22.132C22.5976 21.7415 22.5976 21.1083 22.2071 20.7178L17.8634 16.3741C19.1616 14.7849 19.94 12.7634 19.94 10.5579C19.94 5.41887 15.7138 1.27893 10.533 1.27893ZM3.12598 10.5579C3.12598 6.55226 6.42768 3.27893 10.533 3.27893C14.6383 3.27893 17.94 6.55226 17.94 10.5579C17.94 14.5636 14.6383 17.8369 10.533 17.8369C6.42768 17.8369 3.12598 14.5636 3.12598 10.5579Z">
</path>
</svg>
<input type="text" placeholder="What do you want to play?" id="search_input">
<div class="search_divider"></div>
<svg viewBox="0 0 24 24" class="svg browse" xmlns="http://www.w3.org/2000/svg">
<path
d="M4 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4H4V2zM1.513 9.37A1 1 0 0 1 2.291 9H21.71a1 1 0 0 1 .978 1.208l-2.17 10.208A2 2 0 0 1 18.562 22H5.438a2 2 0 0 1-1.956-1.584l-2.17-10.208a1 1 0 0 1 .201-.837zM12 17.834c1.933 0 3.5-1.044 3.5-2.333 0-1.289-1.567-2.333-3.5-2.333S8.5 14.21 8.5 15.5c0 1.289 1.567 2.333 3.5 2.333z">
</path>
</svg>
</div>
</div>
<div class="profile_section">
<svg role="img" viewBox="0 0 16 16" class="svg bell" xmlns="http://www.w3.org/2000/svg">
<path
d="M8 1.5a4 4 0 0 0-4 4v3.27a.75.75 0 0 1-.1.373L2.255 12h11.49L12.1 9.142a.75.75 0 0 1-.1-.374V5.5a4 4 0 0 0-4-4zm-5.5 4a5.5 5.5 0 0 1 11 0v3.067l2.193 3.809a.75.75 0 0 1-.65 1.124H10.5a2.5 2.5 0 0 1-5 0H.957a.75.75 0 0 1-.65-1.124L2.5 8.569V5.5zm4.5 8a1 1 0 1 0 2 0H7z">
</path>
</svg>
<img src="ProfilePhoto.jpg" class="profile_pic">
</div>
</div>
<div class="main_content">
<div class="left_container">
<div class="left_container top">
<div id="leftContainerTopTitle">
<div>
<button class="nav_drawer_btn">
<svg role="img" viewBox="0 0 24 24" class="svg nav">
<path
d="M14.5 2.134a1 1 0 0 1 1 0l6 3.464a1 1 0 0 1 .5.866V21a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V3a1 1 0 0 1 .5-.866zM16 4.732V20h4V7.041l-4-2.309zM3 22a1 1 0 0 1-1-1V3a1 1 0 0 1 2 0v18a1 1 0 0 1-1 1zm6 0a1 1 0 0 1-1-1V3a1 1 0 0 1 2 0v18a1 1 0 0 1-1 1z">
</path>
</svg>
</button>
</div>
<h4 id="your_library">Your Library</h4>
</div>
<div class="left_container top actions">
<i class="material-icons-outlined add" id="add_playlist">add</i>
<i class="material-icons-outlined arrow_forward">arrow_forward</i>
</div>
</div>
<div class="filter-buttons">
<div class="icon_remove_filter">
<i class="material-icons-outlined">close</i>
</div>
<button id="filter-playlist">Playlist</button>
<button id="filter-artists">Artist</button>
<button id="filter-album">Album</button>
<button id="filter-podcasts">Podcast</button>
</div>
<div class="playlists_container">
<div class="leftContainerSearchSection">
<button id="search_in_library" class="circle-button">
<i class="material-icons-outlined search">search</i>
</button>
<button class="leftContainerSorter">
<p>Recent</p>
<i class="material-icons list">list</i>
</button>
</div>
<ul class="playlist_list">
<li>
<div class="list_item">
<div class="left_playlistItemImg">
<img src="https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/5d7e3320-873f-4463-826e-fa7c488ee5cb/d87lxio-8ac0f4ad-2a56-4858-98a8-63cc8d9e4831.jpg/v1/fit/w_600,h_800,q_70,strp/carry_on_my_wayward_son__by_scaredofreality_d87lxio-375w-2x.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9ODAwIiwicGF0aCI6IlwvZlwvNWQ3ZTMzMjAtODczZi00NDYzLTgyNmUtZmE3YzQ4OGVlNWNiXC9kODdseGlvLThhYzBmNGFkLTJhNTYtNDg1OC05OGE4LTYzY2M4ZDllNDgzMS5qcGciLCJ3aWR0aCI6Ijw9NjAwIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmltYWdlLm9wZXJhdGlvbnMiXX0.w9C1dqS-2u7jzAKVGUGLW0Qm2KlvVAJnkbrQcWkgmx4"
alt="">
<div class="overlay"></div>
<svg viewBox="0 0 24 24" class="playlist_item_overlay">
<path
d="m7.05 3.606 13.49 7.788a.7.7 0 0 1 0 1.212L7.05 20.394A.7.7 0 0 1 6 19.788V4.212a.7.7 0 0 1 1.05-.606z">
</path>
</svg>
</div>
<div class="artist_info">
<p id="artist_name">Kansas</p>
<p id="artist_tag">Artist</p>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="resizer_handle"></div>
<div class="right_container">
<div class="right_container_filter_buttons ">
<button id="filter-all" class="active">All</button>
<button id="filter-music">Music</button>
<button id="filter-podcast">Podcasts</button>
</div>
<div class="right_container_content">
<div class="playlistContainer">
<div class="playlistHeader">
<h2>Made For Abhay</h2>
<p id="showAll">Show All</p>
</div>
<div class="playlists"></div>
</div>
<div class="playlistContainer">
<div class="playlistHeader">
<h2>Made For Abhay</h2>
<p id="showAll">Show All</p>
</div>
<div class="playlists"></div>
</div>
<div class="playlistContainer">
<div class="playlistHeader">
<h2>Made For Abhay</h2>
<p id="showAll">Show All</p>
</div>
<div class="playlists"></div>
</div>
<div class="playlistContainer">
<div class="playlistHeader">
<h2>Made For Abhay</h2>
<p id="showAll">Show All</p>
</div>
<div class="playlists"></div>
</div>
</div>
</div>
</div>
<footer>
<div class="player">
<div class="song_info">
<img id='currentSongImg'
src="https://seed-mix-image.spotifycdn.com/v6/img/two_thousands/0C0XlULifJtAgn6ZNCW2eu/en-GB/default"
alt="">
<div class="song_details">
<div class="song_name">
<p id='currentSong'>Carry On My Wayward Son</p>
</div>
<p id='currentSongArtist' class="artist">Kansas</p>
</div>
<i class="material-icons-outlined">favorite</i>
</div>
<div class="song_controls">
<div class="prev_play_next">
<button class="shuffle">
<span class="material-icons-outlined">
shuffle
</span>
<div class="indicator_shuffle"></div>
</button>
<button id="prev">
<span class="material-icons-outlined ">
skip_previous
</span>
</button>
<button class="play_pause">
<span class="play_pause material-icons-outlined ">
play_arrow
</span>
</button>
<button id="next">
<span class="material-icons-outlined ">
skip_next
</span>
</button>
<button class="repeat">
<span class="material-icons-outlined">
repeat
</span>
<div class="indicator_repeat"></div>
</button>
</div>
<div class="progress-bar">
<span id="current-progress">0:00</span>
<div class="progress_container">
<input id="progress" type="range" min="0" step="0.1" max="100" value="0" class="progress">
<progress id="song_progress" value="0" max="100"></progress>
</div>
<span id="duration">00:00</span>
</div>
</div>
<div class="player_controls">
<button class="slideshow">
<span class="material-icons-outlined">
slideshow
</span>
<div class="indicator slideshow"></div>
</button>
<button class="lyrics">
<span class="material-icons-outlined">
lyrics
</span>
<div class="indicator lyrics"></div>
</button>
<button class="queue">
<span class="material-icons-outlined">
queue_music
</span>
<div class="indicator queue"></div>
</button>
<button class="devices">
<span class="material-icons-outlined">
devices
</span>
<div class="indicator devices"></div>
</button>
<button class="volume">
<span class="material-icons-outlined">
volume_up
</span>
</button>
<div class="volume_container">
<input type="range" min="0" max="1" value="1" step="0.01" id="volume">
<progress id="volume_level" value="1" min=0 max="1"></progress>
</div>
<button class="fullscreen">
<span class="material-icons-outlined">
open_in_full
</span>
</button>
</div>
</div>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>