-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
80 lines (69 loc) · 2.59 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<base href="/">
<title>Dougpedia</title>
<meta name="description" content="Dougpedia">
<meta name="theme-color" content="#45D4FB">
<link rel="shortcut icon" href="assets/icons/512x512.png"/>
<link rel="manifest" href="manifest.json">
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="Dougpedia">
<!-- 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="black-translucent">
<meta name="apple-mobile-web-app-title" content="Dougpedia">
<link rel="apple-touch-icon" href="assets/icons/48x48.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/icons/72x72.png">
<link rel="apple-touch-icon" sizes="96x96" href="assets/icons/96x96.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/icons/144x144.png">
<link rel="apple-touch-icon" sizes="192x192" href="assets/icons/192x192.png">
<link rel="apple-touch-icon" sizes="512x512" href="assets/icons/192x192.png">
<style>
:root {
--mdc-icon-size: 32px;
--mdc-theme-primary: #FFF;
--mdc-theme-on-primary: #555;
--mdc-theme-secondary: #0085d7;
--mdc-theme-on-secondary: #FFF;
}
body {
position: relative;
min-height: 100vh;
padding: 0;
margin: 0;
font-family: Helvetica,Arial,sans-serif;
-webkit-font-smoothing: antialiased;
}
dougpedia-app[unresolved] {
display: block;
width: 100vw;
height: 100vh;
background-image: linear-gradient(-210deg, #45D4FB 0%, #57E9F2 80%, #A3FDDD 100%)
}
dougpedia-app[unresolved] * {
visibility: hidden;
}
</style>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker
.register(
'service-worker.js'
, {scope: '/'}
);
});
}
window.process = { env: { NODE_ENV: 'production' } };
</script>
</head>
<body>
<dougpedia-app unresolved></dougpedia-app>
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script type="module" src="src/dougpedia-app/dougpedia-app.js"></script>
</body>
</html>