-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
72 lines (67 loc) · 2.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GO Web Store | Home</title>
<meta name="theme-color" content="#10131a" />
<meta name="description" content="A web store built for the liquid galaxy apps.">
<meta property="og:title" content="GO Web Store by liquid galaxy">
<meta property="og:description" content="A web store built for the liquid galaxy apps.">
<meta property="og:image"
content="https://raw.githubusercontent.com/LiquidGalaxyLAB/GO-Web-Store/refs/heads/main/assets/Cover.png">
<meta property="og:url" content="https://store.liquidgalaxy.eu">
<meta property="og:type" content="website">
<meta name="canonical" content="https://store.liquidgalaxy.eu">
<link rel="shortcut icon" href="./assets/Go Web Store.svg" type="image/x-icon">
<link rel="manifest" href="./manifest.json">
<script type="importmap">
{
"imports": {
"@material/web/": "https://esm.run/@material/web/"
}
}
</script>
<script type="module">
import '@material/web/all.js';
import {
styles as typescaleStyles
} from '@material/web/typography/md-typescale-styles.js';
document.adoptedStyleSheets.push(typescaleStyles.styleSheet);
</script>
<link rel="stylesheet" href="./styles/style.css">
<link rel="stylesheet" href="./styles/vt-index.css">
<script type="module" src="./js/script.js" defer></script>
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", () => {
navigator.serviceWorker
.register("./service-worker.js")
.then((registration) => {
console.log("Service Worker registered with scope:", registration.scope);
})
.catch((error) => {
console.error("Service Worker registration failed:", error);
});
});
}
</script>
</head>
<body>
<main>
<h1 class="hero" aria-label="Google Earth Web Store"><animated-logo></animated-logo></h1>
<search>
<search-bar></search-bar>
</search>
<section>
</section>
</main>
<script>
function sendHeight() {
window.parent.postMessage(document.body.scrollHeight, '*');
}
window.onload = sendHeight;
window.onresize = sendHeight;
</script>
</body>
</html>