This repository has been archived by the owner on Feb 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (46 loc) · 1.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/service-worker.js');
}
</script>
<script
src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"
defer
></script>
<!-- Load components via WebComponents.waitFor -->
<script type="module">
window.WebComponents = window.WebComponents || {
waitFor(cb) {
addEventListener('WebComponentsReady', cb);
},
};
WebComponents.waitFor(async () => {
import('./src/my-app.js');
import('./src/custom-header.js');
import('./src/custom-footer.js');
import('./src/kawaii-character.js');
import('./src/character-gallery.js');
});
</script>
<!-- Change stuff here for your app -->
<meta name="description" content="KawaiiFX" />
<meta name="theme-color" content="#ffffff" />
<title>KawaiiFX</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="manifest" href="./manifest.json" />
<link rel="shortcut icon" href="/manifest/icon.png" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta charset="UTF-8" />
</head>
<body>
<my-app>
<p id="jsyes" style="text-align: center;">Loading…</p>
<noscript>
Could not render the custom element. Check that JavaScript is enabled.
</noscript>
</my-app>
</body>
</html>