-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
331 lines (316 loc) · 10.9 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>SweetSpoti - Discover Your Friends' Playlists</title>
<meta
name="title"
content="SweetSpoti - Discover Your Friends' Playlists"
/>
<meta
name="description"
content="With SweetSpoti you can discover the playlists your friends created in a fun and intuitive way"
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.sweetspoti.com/" />
<meta
property="og:title"
content="SweetSpoti - Discover Your Friends' Playlists"
/>
<meta
property="og:description"
content="With SweetSpoti you can discover the playlists your friends created in a fun and intuitive way"
/>
<meta property="og:image" content="/screenshot.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://www.sweetspoti.com/" />
<meta
property="twitter:title"
content="SweetSpoti - Discover Your Friends' Playlists"
/>
<meta
property="twitter:description"
content="With SweetSpoti you can discover the playlists your friends created in a fun and intuitive way"
/>
<meta property="twitter:image" content="/screenshot.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<link
rel="stylesheet"
href="https://open.scdn.co/cdn/build/web-player/web-player.9b650925.css"
/>
<link
rel="stylesheet"
href="https://open.scdn.co/cdn/build/web-player/673.5a1dd3a7.css"
/>
<link
rel="stylesheet"
href="https://www.gstatic.com/recaptcha/releases/pRiAUlKgZOMcFLsfzZTeGtOA/styles__ltr.css"
/>
<link
rel="stylesheet"
href="https://open.scdn.co/cdn/build/web-player/xpui-routes-profile.1fe77638.css"
/>
<link
rel="stylesheet"
href="https://open.scdn.co/cdn/build/web-player/xpui-routes-search.fd9fd3fa.css"
/>
<link
rel="stylesheet"
href="https://open.scdn.co/cdn/build/web-player/xpui-routes-collection.1ee87b73.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-2HHZDMDD2R"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-2HHZDMDD2R");
</script>
</head>
<body dir="ltr">
<div class="Root__top-bar">
<header
aria-label="Top bar and user menu"
class="b00fbb9732b9fe65ded1ba887be5aef9-scss"
>
<div
data-testid="topbar-content-wrapper"
class="_4555ba2c05062f5eccc7f1c761fe0c7d-scss"
>
<div
data-testid="topbar-content"
class="_233cba0ebe7615236e86592034108e77-scss"
>
<div
class="a339f5873501630360d9da0c7938f28b-scss"
style="width: 100%"
>
<h1 style="float: left; color: white">SweetSpoti</h1>
<div style="float: right; font-size: x-large">
<a href="#" onclick="refreshPlaylists()"
><i class="fa fa-refresh"></i
></a>
<a href="#" onclick="showModal()"
><i class="fa fa-info-circle"></i
></a>
</div>
</div>
</div>
</div>
</header>
<div></div>
</div>
<div class="Root__top-bar">
<header
aria-label="Top bar and user menu"
class="b00fbb9732b9fe65ded1ba887be5aef9-scss"
>
<div
data-testid="topbar-content-wrapper"
class="_4555ba2c05062f5eccc7f1c761fe0c7d-scss"
>
<div
data-testid="topbar-content"
class="_233cba0ebe7615236e86592034108e77-scss"
>
<nav
class="a339f5873501630360d9da0c7938f28b-scss _0e8005074dbda3fac5e3e0351fa82d97-scss"
>
<ul class="_50d97b6270ce5e1b70d300348bc6b80d-scss">
<li
class="_0787ecf44d56591be72b1f2c0e2f2320-scss"
onclick="renderPopular(this)"
>
<a
class="_43e978b8fbef3b1a5fc86ea29e51a0fd-scss a4bc298d40e9660cd25cd3ac1a7f9c49-scss"
draggable="false"
aria-current="page"
><span class="_9642f084eaa7faec9f8f003145b6c289-scss"
>Popular</span
></a
>
</li>
<li
class="_0787ecf44d56591be72b1f2c0e2f2320-scss"
onclick="renderRecent(this)"
>
<a
class="_43e978b8fbef3b1a5fc86ea29e51a0fd-scss"
draggable="false"
><span class="_9642f084eaa7faec9f8f003145b6c289-scss"
>Recently Updated</span
></a
>
</li>
<li
class="_0787ecf44d56591be72b1f2c0e2f2320-scss"
onclick="renderNew(this)"
>
<a
class="_43e978b8fbef3b1a5fc86ea29e51a0fd-scss"
draggable="false"
><span class="_9642f084eaa7faec9f8f003145b6c289-scss"
>New</span
></a
>
</li>
</ul>
</nav>
</div>
</div>
</header>
<div></div>
</div>
<div id="progressBarContainer">
<p id="progressText">Loading followed users...</p>
<div class="progress">
<div class="progress-value" id="progressBar"></div>
</div>
</div>
<section
class="_7bf1862b8e096cebdaf4acbcfbec2d4e-scss"
aria-label="Songs"
data-testid="search-tracks-result"
>
<div
class="_5aac821edb25f0e281f50522021abbe4-scss"
style="--minimumColumnWidth: 180px"
>
<div class="cf1ffff8bd4bfa0b9c7508b671faabf2-scss">
<div
role="grid"
aria-rowcount="4"
aria-colcount="2"
aria-label="Songs search results"
class="_7effa9d9b3900e9698aa6e0423a1e841-scss"
tabindex="0"
data-testid="track-list"
>
<div
class="c27f49a483c85a5b88b3f37fb918e497-scss"
id="playlistsContainer"
></div>
</div>
</div>
</div>
</section>
<script>
module = {};
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/src/spotify-web-api.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/main.min.js"></script>
<script src="main.js"></script>
<div
class="Dialog__Container-sc-3m0cq1-0 iYAZhG"
id="modal"
style="display: none; height: 100%; width: 100%"
onclick="hideModal()"
>
<div
opacity=".8"
class="Dialog__Overlay-sc-3m0cq1-1 kBpaGs"
style="
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
"
></div>
<div
class="Dialog__Content-sc-3m0cq1-2 gMyNDU"
onclick="event.stopPropagation()"
style="padding-bottom: 15px"
>
<section class="A2HSDialog__Container-lrjbwp-0 eszJbr">
<h1
class="Type__StyledComponent-ysj1j4-0 dvqtmO Canon-sc-2z1pi2-0 A2HSDialog__StyledCanon-lrjbwp-2 jXHdYP jmCZFY"
>
About SweetSpoti
</h1>
<p
class="Type__StyledComponent-ysj1j4-0 dvqtmO Ballad-uonr76-0 A2HSDialog__StyledBallad-lrjbwp-3 lejosA kZeVeK"
>
SweetSpoti shows you playlists created by the people you follow on
Spotify so you can discover new music.
</p>
<p
class="Type__StyledComponent-ysj1j4-0 dvqtmO Ballad-uonr76-0 A2HSDialog__StyledBallad-lrjbwp-3 lejosA kZeVeK"
>
This project is 100% client-side based and open-sourced. We can not
access or collect your Spotify data in any way.
</p>
<div class="Button__RootWrapper-sc-17ovr4o-3 cLdxZC">
<button
onclick="hideModal()"
class="Button__button-sc-17ovr4o-1 bqwKHo A2HSDialog__AddButton-lrjbwp-4 jKeHhf"
version="primary"
style="cursor: pointer"
>
<span
class="Type__StyledComponent-ysj1j4-0 dvqtmO Metronome-sc-11p54hg-0 Button__ButtonText-sc-17ovr4o-4 eqNKgW cIqIaE"
>Cool</span
>
</button>
</div>
<div class="Button__RootWrapper-sc-17ovr4o-3 cLdxZC">
<button
version="secondary"
class="Button__button-sc-17ovr4o-1 cOmUeQ"
>
<span
class="Type__StyledComponent-ysj1j4-0 dvqtmO Metronome-sc-11p54hg-0 Button__ButtonText-sc-17ovr4o-4 eqNKgW cIqIaE"
><a
href="https://github.com/orenyomtov/sweetspoti"
target="_blank"
style="color: black"
><i class="fa fa-github" style="font-size: xx-large"></i></a
></span>
</button>
</div>
</section>
<p
class="Type__StyledComponent-ysj1j4-0 dvqtmO Ballad-uonr76-0 A2HSDialog__StyledBallad-lrjbwp-3 lejosA kZeVeK"
style="text-align: center; margin: 0"
>
by
<a
href="https://twitter.com/orenyomtov"
target="_blank"
style="color: #b3b3b3"
>Oren Yomtov</a
>
&
<a
href="https://twitter.com/IDardikman"
target="_blank"
style="color: #b3b3b3"
>Idan Dardikman</a
>
</p>
</div>
</div>
</body>
</html>