-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (60 loc) · 2.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
<!DOCTYPE html>
<html>
<head>
<title>PWA Master</title>
<link rel="manifest" href="/manifest.json">
<meta name="keywords" content="kotlin, pwa, hackathon">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta property="og:description" content="PWA Hackathon Monitoring" />
<meta property="og:image" content="https://babedev.github.io/Kadge/meta.png" />
<meta property="og:image:secure_url" content="https://babedev.github.io/Kadge/meta.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="400" />
<meta property="og:image:height" content="400" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.4.2/css/bulma.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/fingerprintjs2/1.5.1/fingerprint2.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js"></script>
<script>
var config = {
apiKey: "AIzaSyCbFBFz_DWFHcnNHf3fE4LxtmdPidO26Jk",
databaseURL: "https://pwamaster-8f2b2.firebaseio.com",
projectId: "pwamaster-8f2b2",
messagingSenderId: "851749046645"
};
firebase.initializeApp(config);
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/service-worker.js').then(function(registration) {
console.log('ServiceWorker registration successful with scope: ', registration.scope);
}).catch(function(err) {
console.log('ServiceWorker registration failed: ', err);
});
}
</script>
<script src="kotlin.js"></script>
<style>
body {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.row {
margin-top: auto;
}
.msg {
background: white;
min-width: 50px;
padding: 10px;
border-radius: 2px;
box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.07);
}
</style>
</head>
<body>
<div id="app"></div>
<script src="pwamaster_main.js"></script>
</body>
</html>