-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
205 lines (173 loc) · 7.92 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!doctype html>
<html lang="en" itemscope itemtype="http://schema.org/Event">
<head>
<base href="/">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<meta name="description"
content="The biggest Google tech conference in West Cameroon carefully crafted for you by GDG community! All about Android, Web and Cloud from the world experts">
<meta name="keywords"
content="event, gdg, gde, devfest, google, dschang, cameroon, programming, android, chrome, polymer, developers, web, cloud, androiddev">
<meta name="author" content="GDG Lviv">
<title>GDG Dschang 2017</title>
<link rel="canonical" href="http://gdgdschang.org/">
<link rel="shortcut icon" sizes="32x32" href="/images/favicon/favivon-32.png">
<meta name="theme-color" content="#F57C00">
<link rel="manifest" href="manifest.json">
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes"> <!-- fallback for manifest.json -->
<meta name="application-name" content="GDG Dschang 2017"> <!-- fallback for manifest.json -->
<!-- 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">
<meta name="apple-mobile-web-app-title" content="GDG Dschang 2017">
<!-- Homescreen icons. -->
<link rel="shortcut icon" href="/images/favicon/favicon-72.png">
<link rel="apple-touch-icon" href="/images/touch/homescreen-48.png">
<link rel="apple-touch-icon" sizes="72x72" href="/images/touch/homescreen-72.png">
<link rel="apple-touch-icon" sizes="96x96" href="/images/touch/homescreen-96.png">
<link rel="apple-touch-icon" sizes="144x144" href="/images/touch/homescreen-144.png">
<link rel="apple-touch-icon" sizes="192x192" href="/images/touch/homescreen-192.png">
<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="/images/touch/homescreen-144.png">
<meta name="msapplication-TileColor" content="#ECEFF1">
<meta name="msapplication-tap-highlight" content="no">
<!-- G+ sharing meta data -->
<meta itemprop="name" content="GDG Dschang 2017">
<meta itemprop="description"
content="The biggest Google tech conference in West Cameroon carefully crafted for you by GDG community! All about Android, Web and Cloud from the world experts">
<meta itemprop="image" content="/images/social-share.jpg">
<meta itemprop="startDate" content="2017-08-05T09:00:00+03:00">
<meta itemprop="endDate" content="2017-08-05T19:00:00+03:00">
<!-- Facebook sharing meta data -->
<meta property="og:title" content="GDG Dschang 2017">
<meta property="og:site_name" content="GDG Dschang 2017">
<meta property="og:type" content="website">
<meta property="og:url" content="http://gdgdschang.org/">
<meta property="og:description"
content="The biggest Google tech conference in West Cameroon carefully crafted for you by GDG community! All about Android, Web and Cloud from the world experts">
<meta property="og:type" content="Event">
<meta property="og:image" content="/images/social-share.jpg">
<meta property="og:image:type" content="image/png" />
<!-- Twitter meta data -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="@gdgdschang">
<meta name="twitter:title" content="GDG Dschang 2017">
<meta name="twitter:description"
content="The biggest Google tech conference in West Cameroon carefully crafted for you by GDG community! All about Android, Web and Cloud from the world experts">
<meta name="twitter:image" content="/images/social-share.jpg">
<link rel="dns-prefetch" href="https://www.google-analytics.com">
<link rel="dns-prefetch" href="https://apis.google.com">
<link rel="dns-prefetch" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- Unsupported browser checks need to come before webcomponents.js is loaded,
otherwise unsupported browsers will error out and not record a pageview.
Analytics lib is also loaded up front for error reporting. -->
<script src="https://www.google-analytics.com/analytics.js" async></script>
<style>
body {
margin: 0;
font-family: 'Roboto', 'Noto', sans-serif;
line-height: 1.4;
min-height: 100vh;
}
#loader-box {
position: fixed;
z-index: 1000;
top: 0;
right: 0;
width: 100%;
height: 100%;
text-align: center;
background-color: #fff;
background: rgba(255, 255, 255, 0.7);
}
#loader-box>figure img {
max-width: 90%;
}
</style>
<script>
window.HOVERBOARD = window.HOVERBOARD || {};
window.ENV = 'dev';
window.PREFIX = 'http://www.gdgdschang.org/';
// setup Polymer options
window.Polymer = {lazyRegister: true, dom: 'shadow'};
// Initializes the analytics.js command queue.
window.ga = window.ga || function () {
(ga.q = ga.q || []).push(arguments)
};
ga.l = +new Date;
// Creates the tracker.
ga('create', {
trackingId: window.ENV === 'prod' ? 'UA-86557517-1' : 'UA-43643469-9',
cookieDomain: 'auto',
cookiePath: window.ENV !== 'dev' ? window.PREFIX || '/' : null,
siteSpeedSampleRate: 10 // 10% of users.
});
// Setup error tracking before anything else runs.
window.onerror = function (message, file, lineNumber, columnNumber, error) {
// We don't want to trigger any errors inside window.onerror, so wrap in a try/catch.
try {
// Some browsers don't support error param yet.
if (error !== undefined) {
message = error.stack;
}
ga('send', 'event', 'error', file + ':' + lineNumber, message);
} catch (e) {
// no-op
}
};
</script>
<link rel="import" href="/src/hoverboard-app.html" async>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Event",
"name": "GDG DevFest West 2017",
"description": "The biggest Google tech conference in West Cameroon carefully crafted for you by GDG community! All about Android, Web and Cloud from the world experts",
"startDate": "2017-12-08T10:00:00+03:00",
"endDate": "2017-12-09T18:00:00+03:00",
"url": "http://www.gdgdschang.org/",
"location": {
"@type" : "Place",
"name" : "IUT Bandjoun",
"address": "Bandjoun, Cameroon"
}
}
</script>
</head>
<body>
<hoverboard-app id="happ"></hoverboard-app>
<div id="loader-box">
<figure>
<img alt="loading..." src="images/loader-animation.gif" />
</figure>
</div>
<script src="scripts/helper/util.js"></script>
<script src="scripts/helper/elements.js"></script>
<script src="scripts/bootstrap.js"></script>
<script id="sw-registration" src="scripts/helper/service-worker-registration.js"></script>
<script src="scripts/helper/deferred.js"></script>
<script src="scripts/metrics.js"></script>
<script>
// vertically center the content of the loader box
var centerLoaderPosition = function () {
loaderFixedBox = document.getElementById('loader-box');
loaderImg = loaderFixedBox.firstElementChild;
maxDSHeight = loaderFixedBox.offsetHeight - (loaderFixedBox.offsetHeight * 30 / 100) ;
if ( loaderImg.offsetHeight > maxDSHeight) {
loaderImg.offsetHeight = (maxDSHeight >= 100) ? maxDSHeight + "px" : "100px" ;
loaderImg.style.margin = "10% auto" ;
} else {
dsMargin = (loaderFixedBox.offsetHeight - loaderImg.offsetHeight) / 2 ;
loaderImg.style.margin = dsMargin + "px auto" ;
}
}
// time out to increase probability to have a correct window's offset height value,
// knowing that at the first start, page can't be well rendered.
setTimeout(centerLoaderPosition, 500);
window.addEventListener('resize', centerLoaderPosition, false);
</script>
</body>
</html>