-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (92 loc) · 3.22 KB
/
Copy pathindex.html
File metadata and controls
112 lines (92 loc) · 3.22 KB
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
<!doctype html>
<html>
<head>
<base href="/">
<title>Bite</title>
<script src="https://www.gstatic.com/firebasejs/3.6.2/firebase.js"></script>
<meta charset="utf-8" />
<meta name="description" content="Eten bestellen in Zwolle en Gramsbergen">
<meta name="theme-color" content="#EC9630">
<link rel="import" href="/src/bite-pwa.html" async>
<link rel="shortcut icon" sizes="32x32" href="/images/favicon-32x32.png">
<!-- PWA meta tags -->
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Apple meta tags -->
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-180x180.png">
<!-- Manifest import -->
<link rel="manifest" href="/manifest.json">
<style>
@font-face {font-family: CompasseBoldItalic; src: url('fonts/Compasse-ExtraBoldItalic.otf');}
@font-face {font-family: Compasse; font-weight: 800; src: url('fonts/Compasse.otf');}
/*@font-face {font-family: Compasse; src: url('fonts/Compasse-Thin.otf');}*/
body{
margin: 0 auto;
font-family: CompasseBoldItalic;
font-size: 13px;
width:100%;
height: 100%;
background-color: #FAFAFA;
}
bite-pwa[unresolved]{
display: block;
}
#background{
width: 100%;
height: 100%;
position: fixed;
left: 0px;
top: 0px;
z-index: -1;
text-align: center;
}
.bgImage{
height: 100%;
}
</style>
</head>
<body>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyB54Q19Q-8OxXpWIy9xQHO0qai6SnS3Vm8",
authDomain: "bite-4ce99.firebaseapp.com",
databaseURL: "https://bite-4ce99.firebaseio.com",
storageBucket: "bite-4ce99.appspot.com",
messagingSenderId: "389337808613"
};
firebase.initializeApp(config);
</script>
<bite-pwa unresolved>
<div id="background">
<img class="bgImage" src="images/Splashscreen.png" />
</div>
</bite-pwa>
<script>
window.performance && performance.mark && performance.mark('index.html');
Polymer = { lazyRegister: true, dom: 'shadow' };
(function () {
if ('registerElement' in document
&& 'import' in document.createElement('link')
&& 'content' in document.createElement('template')) {
// platform is good!
} else {
// polyfill the platform!
var e = document.createElement('script');
e.src = '/bower_components/webcomponentsjs/webcomponents-lite.min.js';
document.body.appendChild(e);
}
})();
</script>
<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', 'UA-31584143-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>