-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
36 lines (31 loc) · 971 Bytes
/
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width"/>
<link rel=icon href="assets/img/favicon.ico">
<link rel="stylesheet" href="assets/css/style.css">
<title>Lyrics for Spotify</title>
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400"
rel="stylesheet">
</head>
<body>
<div id='app'>
<div v-if="track">
<h1 id="track_name">{{ track.name }}</h1>
<h2 id="artist">
<span v-for="(artist, index) in track.artists">{{ artist.name }}<span v-if="index < track.artists.length - 1">, </span>
</span>
</h2>
<pre id="lyrics" v-html="lyrics"></pre>
</div>
<div v-if="!track">
<h1>Detecting spotify...</h1>
</div>
</div>
</body>
<script>
require('./assets/js/app.js')
</script>
</html>