-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
102 lines (98 loc) · 2.98 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>marc lyrics</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, shrink-to-fit=no"
/>
<!-- See https://goo.gl/OOhYW5 -->
<link rel="manifest" href="manifest.json" />
<!-- See https://goo.gl/qRE0vM -->
<meta name="theme-color" content="#ffffff" />
<!-- Add to homescreen for Chrome on Android. Fallback for manifest.json -->
<meta name="mobile-web-app-capable" content="yes" />
<meta name="application-name" content="Banner" />
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta
name="apple-mobile-web-app-status-bar-style"
content="white-translucent"
/>
<meta name="apple-mobile-web-app-title" content="Banner" />
<!-- Homescreen icons -->
<link rel="apple-touch-icon" href="icons/icon-48x48.png" />
<link rel="apple-touch-icon" sizes="72x72" href="icons/icon-72x72.png" />
<link rel="apple-touch-icon" sizes="96x96" href="icons/icon-96x96.png" />
<link
rel="apple-touch-icon"
sizes="144x144"
href="icons/icon-144x144.png"
/>
<link
rel="apple-touch-icon"
sizes="192x192"
href="icons/icon-192x192.png"
/>
<!-- Tile icon for Windows 8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="icons/icon-144x144.png" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="msapplication-tap-highlight" content="no" />
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", function () {
navigator.serviceWorker
.register("sw.js")
.then(function (registration) {
console.log(
"ServiceWorker registration successful with scope: ",
registration.scope
);
})
.catch(function (err) {
console.log("ServiceWorker registration failed: ", err);
});
});
}
</script>
<link
href="https://fonts.googleapis.com/css?family=Poppins:400,800&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="index.css" />
</head>
<body>
<div class="container">
<div class="search">
<input
type="search"
name="song"
class="search-song"
autofocus="autofocus"
placeholder="search artist, song lyrics"
id="search-input"
/>
</div>
<div class="suggestions">
<ul class="results" id="results"></ul>
<div class="fade left"></div>
<div class="fade right"></div>
</div>
<div class="lyrics" id="lyrics"></div>
<div class="credits">
<h1 class="title-name">
marc lyrics
</h1>
<a target="_blank" href="https://github.com/iamthenewking/lyrics">
GitHub
</a>
</div>
</div>
<script
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"
></script>
<script src="index.js" charset="utf-8"></script>
</body>
</html>