-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
59 lines (55 loc) · 1.99 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/png" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Practice memorizing notes with these treble and bass clef flash cards"
/>
<link rel="apple-touch-icon" href="/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="/manifest.json" />
<title>Piano Flash Cards</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<!-- Google Analytics tag (gtag.js) -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-9CBPKWQ157"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-9CBPKWQ157");
</script>
<script>
window.onload = function () {
var doesNotSupportES6 = typeof Symbol === "undefined";
if (doesNotSupportES6) {
var headingElement = document.createElement("h1");
headingElement.setAttribute("style", "text-align: center;");
headingElement.textContent =
"Failed to load the Piano Flash Card application. Your browser is too old! Please try using a modern web browser.";
document.querySelector("body").appendChild(headingElement);
gtag("event", "exception", {
description: "browser does not support ES6",
fatal: true,
});
}
};
</script>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>