-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
273 lines (244 loc) · 13.5 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Spotify | Home</title>
<link rel="stylesheet" href="tailwind.css">
<link rel="stylesheet" href="src/styles.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lato:wght@900&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined">
</head>
<body >
<!-- side menu and main container, approx 1064px wide?-->
<div class="w-full flex">
<!-- side menu on left -->
<div class="w-1/5 pt-10 pr-3 pl-5 bg-black-basic text-gray-see_more">
<!-- side menu goes here -->
<div id="general" class="font-sans font-medium text-xs">
<!--general nav items-->
<div class="flex items-center py-2 hover:text-gray-400"> <!--make class: nav-hover-->
<i class="material-icons">home</i>
<a href="#" class="ml-3">Home</a>
</div>
<div class="flex items-center py-2 hover:text-gray-400">
<i class="material-icons-outlined">search</i>
<a href="#" class="ml-3">Search</a>
</div>
<div class="flex pt-2 pb-8 hover:text-gray-400">
<i class="material-icons-outlined">library_music</i>
<a href="#" class="ml-3">Your Library</a>
</div>
</div>
<div id="playlists" class="font-medium text-xs">
<!--playlist section-->
<!--@TODO put divs inside of a tag for hover effect-->
<h3 class="sm:uppercase pb-1">Playlists</h3>
<div class="flex items-center py-2 hover:text-gray-400">
<i class="material-icons-outlined">library_add</i>
<a href="#" class="ml-3">Create Playlist</a>
</div>
<div class="flex items-center py-2 hover:text-gray-400">
<div class="w-6 h-6 bg-gradient-to-br from-blue-liked_a to-blue-liked_b flex justify-center items-center">
<i class="material-icons" style="font-size: 14px;">favorite</i>
</div>
<a href="#" class="ml-3">Liked Songs</a>
</div>
</div>
<br>
<hr class="pb-4">
<div id="personal" class="flex-col font-semibold text-xs">
<!--list of personal playlists-->
<a href="#"><div class="py-1.5 hover:text-gray-400">2021 Greatest Songs</div></a>
<a href="#"><div class="py-1.5 hover:text-gray-400">At Work</div></a>
<a href="playlist.html"><div class="py-1.5 hover:text-gray-400">Playlist #2</div></a>
<a href="#"><div class="py-1.5 hover:text-gray-400">Playlist #4</div></a>
<a href="#"><div class="py-1.5 hover:text-gray-400">Rap Caviar</div></a>
</div>
</div>
<!-- main container -->
<div class="w-4/5">
<!-- upper portion of main container with nav -->
<div class="block w-full h-80 bg-gradient-to-b from-blue-dark_teal to-gray-home_charcoal1 px-6 pb-8">
<!-- top nav -->
<div class="w-full py-4 flex justify-between">
<!-- back / fwd -->
<div class="w-20 flex justify-between">
<div class="w-7 h-7 rounded-full pt-px pr-0.5 bg-black-basic text-gray-controls text-center align-middle">
<i class="fa fa-angle-left" style="font-size: 24px"></i>
</div>
<div class="w-7 h-7 rounded-full mr-2 pt-px pl-0.5 bg-black-emily_main text-gray-controls text-center align-middle">
<i class="fa fa-angle-right" style="font-size: 24px"></i>
</div>
</div>
<!-- Emily -->
<div class="emily w-36 rounded-full pl-1 pr-2 bg-black-basic custom-shadow text-white-basic flex justify-between items-center">
<div class="flex items-center">
<img class="rounded-full" src="images/emily.png" alt="emily's avatar">
<span class="ml-2 text-xs">Emily Adams</span>
</div>
<i class="fa fa-caret-down"></i>
</div>
</div>
<h2 class="mt-6 mb-4 text-white-basic text-3xl">Good morning</h2>
<!-- 3 upper mix panels -->
<div class="flex justify-between">
<div class="mix-panel ">
<img class="rounded-l-md" src="images/release-radar.png" width="63px"/>
<div class="rounded-r-md pl-3 flex items-center">
<h5 class="text-blue-mix_title font-bold ">Release Radar</h5>
</div>
</div>
<div class="mx-3.5 mix-panel">
<img class="rounded-l-md" src="images/crimetown.png" width="63px"/>
<div class="rounded-r-md flex items-center pl-3">
<h5 class="text-blue-mix_title font-bold">Crimetown</h5>
</div>
</div>
<div class="mix-panel">
<img class="rounded-l-md" src="images/discover-weekly.png" width="63px"/>
<div class="rounded-r-md flex items-center pl-3">
<h5 class="text-blue-mix_title font-bold">Discover Weekly</h5>
</div>
</div>
</div>
<!-- 3 lower mix panels -->
<div class="mt-3.5 flex justify-between">
<div class="mix-panel">
<img class="rounded-l-md" src="images/daily-mix-1.png" width="63px" height="63px"/>
<div class="rounded-r-md flex items-center pl-3">
<h5 class="text-blue-mix_title font-bold">Daily Mix 1</h5>
</div>
</div>
<div class="mx-3.5 mix-panel">
<img class="rounded-l-md" src="images/daily-mix-2.png" width="63px" height="63px"/>
<div class="rounded-r-md flex items-center pl-3">
<h5 class="text-blue-mix_title font-bold">Daily Mix 2</h5>
</div>
</div>
<div class="mix-panel">
<img class="rounded-l-md" src="images/farewell.png" width="63px" height="63px"/>
<div class="rounded-r-md flex items-center pl-3">
<h5 class="text-blue-mix_title font-bold">Farewell</h5>
</div>
</div>
</div>
</div>
<!-- lower portion of main container -->
<div class="w-full bg-gray-home_charcoal2 px-6 pb-5">
<div class="pb-3 flex justify-between">
<h3 class="text-2xl text-white-basic">Your heavy rotation</h3>
<div class="flex flex-col justify-end">
<h5 class="text-gray-see_more text-xs tracking-widest">SEE MORE</h5>
</div>
</div>
<!-- 5 album panels -->
<div class="flex justify-between text-white-basic">
<!-- panel 1 -->
<div class="album-panel mr-1.5">
<div class="album w-32 h-32">
<img src="images/be-happy.png" width="127px" alt="album art"/>
</div>
<div class="w-32 flex flex-col align-bottom">
<h5>Be Happy</h5>
<span class="pt-1.5 text-gray-artist text-xs">Gene Evaro Jr.</span>
</div>
</div>
<!-- etc. -->
<div class="album-panel mr-1.5">
<div class="album w-32 h-32 ">
<img src="images/some-days.png" width="127px" alt="album art"/>
</div>
<div class="w-32 flex flex-col align-bottom">
<h5>Some Days</h5>
<span class="pt-1.5 text-gray-artist text-xs">Ira Wolf</span>
</div>
</div>
<div class="album-panel mr-1.5">
<div class="album w-32 h-32">
<img src="images/chime.png" width="127px" alt="album art"/>
</div>
<div class="w-32 flex flex-col align-bottom">
<h5>Chime</h5>
<span class="pt-1.5 text-gray-artist text-xs">Alan Gogoll</span>
</div>
</div>
<div class="album-panel mr-1.5">
<div class="album w-32 h-32">
<img src="images/runaway.png" width="127px" height="127px" alt="album art"/>
</div>
<div class="w-32 flex flex-col align-bottom">
<h5>Runaway</h5>
<span class="pt-1.5 text-gray-artist text-xs">Beast Coast</span>
</div>
</div>
<div class="album-panel">
<div class="album w-32 h-32">
<img src="images/in-your-car.png" width="127px" height="127px" alt="album art"/>
</div>
<div class="w-32 flex flex-col align-bottom">
<h5>In Your Car</h5>
<span class="pt-1.5 text-gray-artist text-xs">No Aloha</span>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- bottom control strip -->
<div class="w-full h-20 bg-gray-control_bg border-t border-gray-border flex justify-between">
<!-- now playing -->
<div class="w-60 h-full flex justify-evenly items-center">
<div class="w-12 h-12">
<img src="images/wardell.png" alt="album art"/>
</div>
<div class="block">
<h6 class="w-32 text-sm text-white-basic">Domestic Sweater</h6>
<span class="text-xs text-gray-artist">Wardell</span>
</div>
<i class="fa fa-heart-o text-gray-artist -ml-3"></i>
</div>
<!-- center controls and time elapsed-->
<div class="flex flex-col justify-center items-center">
<div class="w-48 flex justify-between items-center">
<div class="w-14 flex justify-between items-center text-sm">
<i class="fa fa-random text-gray-controls"></i>
<i class="material-icons text-gray-controls">skip_previous</i>
</div>
<div id="play-pause" class="w-8 h-8 rounded-full bg-black-basic flex justify-center items-center">
<i class="material-icons text-white-basic"
style="font-size: 38px">play_circle_filled</i>
</div>
<div class="w-14 flex justify-between items-center text-sm">
<i class="material-icons text-gray-controls">skip_next</i>
<i class="fa fa-repeat text-gray-controls"></i>
</div>
</div>
<div class="w125 flex justify-center items-center">
<span class="mr-2 text-xs text-gray-controls">0:00</span>
<div class="w-96 h-1 rounded-md mr-2 bg-gray-time_vol">
<div class="w-1 h-1 rounded-md float-left bg-gray-elapsed"></div>
</div>
<span class="text-xs text-gray-controls">4:25</span>
</div>
</div>
<!-- options and volume level -->
<div class="w-52 ml-8 flex justify-evenly items-center text-gray-controls">
<div class="w-16 flex justify-between">
<i class="material-icons" style="font-size: 20px">playlist_play</i>
<i class="material-icons" style="font-size: 16px">speaker</i>
<i class="material-icons" style="font-size: 18px">volume_up</i>
</div>
<div class="w-20 h-1 rounded-md bg-gray-time_vol">
<div class="w-10 h-1 rounded-md float-left bg-gray-elapsed"></div>
</div>
<i class="fa fa-expand "></i>
</div>
</div>
</body>
</html>