forked from polymer-day/web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (93 loc) · 3.76 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<title>Polymer Day</title>
<meta name="description" content="Polymer Day is the first event focused on Google's Polymer Library and App's Toolbox in Spain. We we dedicate one an a half days to talk about Web Components technology.">
<link rel="icon" href="/images/favicon.ico">
<!-- See https://goo.gl/OOhYW5 -->
<link rel="manifest" href="/manifest.json">
<!-- See https://goo.gl/qRE0vM -->
<meta name="theme-color" content="#2c5ea5">
<!-- Add to homescreen for Chrome on Android. Fallback for manifest.json -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="Polymer Day">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="My App">
<!-- Homescreen icons -->
<link rel="apple-touch-icon" href="/images/manifest/icon-48x48.png">
<link rel="apple-touch-icon" sizes="72x72" href="/images/manifest/icon-72x72.png">
<link rel="apple-touch-icon" sizes="96x96" href="/images/manifest/icon-96x96.png">
<link rel="apple-touch-icon" sizes="144x144" href="/images/manifest/icon-144x144.png">
<link rel="apple-touch-icon" sizes="192x192" href="/images/manifest/icon-192x192.png">
<!-- Tile icon for Windows 8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="/images/manifest/icon-144x144.png">
<meta name="msapplication-TileColor" content="#2c5ea5">
<meta name="msapplication-tap-highlight" content="no">
<link href="https://fonts.googleapis.com/css?family=Roboto:100,400|Roboto+Condensed" rel="stylesheet" type="text/css">
<script>
// setup Polymer options
window.Polymer = {
lazyRegister: true,
dom: 'shadow'
};
(function() {
'use strict';
var onload = function() {
// For native Imports, manually fire WebComponentsReady so user code
// can use the same code path for native and polyfill'd imports.
if (!window.HTMLImports) {
document.dispatchEvent(
new CustomEvent('WebComponentsReady', {bubbles: true})
);
}
};
var webComponentsSupported = (
'registerElement' in document
&& 'import' in document.createElement('link')
&& 'content' in document.createElement('template')
);
if (!webComponentsSupported) {
var script = document.createElement('script');
script.async = true;
script.src = '/bower_components/webcomponentsjs/webcomponents-lite.min.js';
script.onload = onload;
document.head.appendChild(script);
} else {
onload();
}
})();
// Load pre-caching Service Worker
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('/service-worker.js');
});
}
</script>
<link rel="import" href="/src/polymerday-app.html">
<style>
html {
font-size: 16px;
text-rendering: optimizeLegibility !important;
-webkit-font-smoothing: antialiased !important;
}
body {
font-family: 'Roboto Condensed', sans-serif;
font-family: 'Roboto', sans-serif;
margin: 0;
min-height: 100vh;
}
</style>
</head>
<body>
<polymerday-app firebase-data='{
"authDomain": "polymerday-55a45.firebaseapp.com",
"databaseUrl": "https://polymerday-55a45.firebaseio.com/",
"apiKey": "AIzaSyBFnBHD71cVoldgU_GINuLx0382dpqF1ZU",
"storageBucket": "polymerday-55a45.appspot.com"
}'></polymerday-app>
</body>
</html>