-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (51 loc) · 2.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />
<meta name="description" content="elementeum, an periodic table progressive web application.">
<title>elementeum</title>
<meta name="theme-color" content="#383f4c"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="elementeum">
<meta name="application-name" content="elementeum">
<meta name="msapplication-navbutton-color" content="#383f4c">
<meta name="msapplication-TileColor" content="#383f4c">
<meta name="msapplication-TileImage" content="">
<link rel="apple-touch-icon" sizes="180x180" href="">
<link rel="apple-touch-startup-image" href="">
<link rel="mask-icon" href="" color="">
<link rel="shortcut icon" href="./src/favicon.ico">
</head>
<body>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` in this folder.
To create a production bundle, use `npm run build`.
-->
<script src="./service-worker.js"></script>
<script type="text/javascript">
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("./service-worker.js", { scope: "./" }).then(function(reg) {
if (reg.installing) {
console.info("Service worker installing.");
}
else if (reg.waiting) {
console.info("Service worker installed.");
}
else if (reg.active) {
console.info("Service worker active.");
}
})
.catch(function(error) {
console.error("Service worker registration failed ", error);
});
}
</script>
</body>
</html>