-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
160 lines (147 loc) · 4.28 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html>
<head>
<link rel="icon" type="image/png" href="/static/favicon.ico" />
<link rel="apple-touch-icon" href="/static/favicon-192.png" />
<title>Kydi - Löydä seuraava jaettu matkasi!</title>
<meta name="theme-color" />
<!-- Facebook metadata-->
<meta property="og:description" content="Tsekkaa kyyti tästä linkistä!" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=xxxxx"
></script>
<!-- Google Analytics -->
<script>
(function (i, s, o, g, r, a, m) {
i["GoogleAnalyticsObject"] = r;
(i[r] =
i[r] ||
function () {
(i[r].q = i[r].q || []).push(arguments);
}),
(i[r].l = 1 * new Date());
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m);
})(
window,
document,
"script",
"https://www.google-analytics.com/analytics.js",
"ga"
);
ga("create", "xxxxx", "auto");
ga("send", "pageview");
</script>
<!-- End Google Analytics -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="”description”"
content="”Löydä"
seuraava
jaettu
matkasi!
Kimppakyyti
määränpäähäsi.”
/>
<script src="https://unpkg.com/regenerator-runtime@0.13.1/runtime.js"></script>
<link
href="https://fonts.googleapis.com/css2?family=Krona+One&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
crossorigin="anonymous"
/>
<!-- Animation library -->
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet" />
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<!-- Add-To-HomeScreen-button -->
<link rel="manifest" href="kydi.webmanifest" />
<script
src="https://kit.fontawesome.com/0117d09986.js"
crossorigin="anonymous"
></script>
<!-- Loading-spinner -->
<style>
#loader {
border: 12px solid #f3f3f3;
border-radius: 50%;
border-top: 12px solid #444444;
width: 70px;
height: 70px;
animation: spin 1s linear infinite;
}
@keyframes spin {
100% {
transform: rotate(360deg);
}
}
.center {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
</style>
<!-- END loading-spinner -->
</head>
<body>
<div id="loader" class="center"></div>
<div id="root"></div>
<script src="./src/index.js"></script>
<script>
AOS.init();
</script>
<noscript>
<h2>
JavaScript has been disabled on your browser / Javascript ei toimi
selaimessasi
</h2>
<h2>If this is unintended, please contact info@kydi.fi</h2>
<h2>
Jos et tiedä mistä on kyse, voitko ystävällisesti ottaa yhteyttä
info@kydi.fi
</h2>
<a href="https://www.mozilla.com/"></a>
</noscript>
<script>
document.onreadystatechange = function () {
if (document.readyState !== "complete") {
document.querySelector("#root").style.visibility = "visible";
document.querySelector("#loader").style.display = "none";
}
};
</script>
</body>
<!-- Service Worker, A2HS-button -->
<script>
if ("serviceWorker" in navigator) {
navigator.serviceWorker
.register("service-worker.js")
.then(function (reg) {
console.log("Service worker registered");
})
.catch(function (err) {
console.log("Service worker, failure: ", err);
});
}
</script>
<!-- End Service Worker -->
</html>