-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
128 lines (106 loc) · 3.56 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html lang="es">
<head>
<!-- Register service worker if supported. -->
<!--
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/service-worker.js');
}
</script>
-->
<!-- Load polyfills -->
<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/orlog-main.js');
});
</script>
<meta name="description" content="Orlog is a dice game from Assassin's Creed Valhalla">
<meta name="keywords" content="Orlog, assassins, creed, valhalla, dice, ubisoft"/>
<meta name="theme-color" content="#000">
<title>Orlog</title>
<meta property="og:title" content="Orlog"/>
<meta property="og:description" content="Orlog is a dice game from Assassin's Creed Valhalla"/>
<meta property="og:keywords" content="orlog, online, web, valhalla, assassins, creed"/>
<meta property="og:image" content="/manifest/favicon.png">
<meta property="og:type" content="website">
<meta name='viewport' content='initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=yes, width=device-width'>
<link rel="manifest" href="./manifest.json">
<link rel="shortcut icon" href="/manifest/favicon.ico" type="image/x-icon">
<link href="/manifest/icon-144x144.png" sizes="144x144" rel="apple-touch-icon">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta charset="UTF-8">
</head>
<style>
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&family=PT+Serif:wght@400;700&display=swap');
@import './src/icons.css';
html {
scroll-behavior: smooth;
}
* {
box-sizing: border-box;
}
html, body {
height: 100%;
margin: 0;
}
body {
background-color: rgb(207, 207, 207);
/* https://www.pexels.com/es-es/foto/foto-de-la-aurora-boreal-en-la-noche-40023/ */
background-image: url('../src/images/background.jpg');
}
.main {
height: 100%;
width: 100%;
display: table;
}
.wrapper {
display: table-cell;
height: 100%;
vertical-align: middle;
}
</style>
<body>
<div class="main">
<div class="wrapper">
<orlog-main>
<!-- Placeholders to improve time to first paint -->
<h1>Loading...</h1>
<!-- Check for JavaScript -->
<p id="jsyes"></p>
<script type="text/javascript">
document.getElementById('jsyes').innerHTML='Loading...';
</script>
<noscript>
Could not render the custom element. Check that JavaScript is enabled.
</noscript>
</orlog-main>
</div>
</div>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.4.2/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyDEzLDT2SV1eMee4MAjvaRkmGoxf1HX-sU",
authDomain: "orlog-online.firebaseapp.com",
projectId: "orlog-online",
storageBucket: "orlog-online.appspot.com",
messagingSenderId: "529960914864",
appId: "1:529960914864:web:07a48a2c50498e6bf01075"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
</body>
</html>