-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
157 lines (133 loc) · 5.48 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
<!DOCTYPE html>
<html itemscope itemtype="http://schema.org/Event" lang="en" prefix="og: http://ogp.me/ns#">
<head>
<base href="{{ basepath }}" />
<meta charset="utf-8" />
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<meta
content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes"
name="viewport"
/>
<meta content="{{ description }}" name="description" />
<meta content="{{ keywords }}" name="keywords" />
<meta content="{{ organizer.name }}" name="author" />
<meta content="Project Hoverboard" name="generator" />
<title>{{ title }}</title>
<!-- Config from compilation step -->
<meta content="{{ url }}" name="config-url" />
<meta content="{{ basepath }}" name="config-basepath" />
<meta content="{{ googleMapApiKey }}" name="config-google-maps-api-key" />
<link href="{{ url }}" rel="canonical" />
<link href="images/favicon.ico" rel="icon" />
<meta content="{{ webapp.themeColor }}" name="theme-color" />
<link href="manifest.webmanifest" rel="manifest" />
<!-- Add to homescreen for Chrome on Android -->
<meta content="yes" name="mobile-web-app-capable" />
<!-- fallback for manifest.json -->
<meta content="{{ title }}" name="application-name" />
<!-- Add to homescreen for Safari on iOS -->
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black-translucent" name="apple-mobile-web-app-status-bar-style" />
<meta content="{{ title }}" name="apple-mobile-web-app-title" />
<!-- Homescreen icons. -->
<link href="images/manifest/icon-48.png" rel="apple-touch-icon" />
<link href="images/manifest/icon-72.png" rel="apple-touch-icon" sizes="72x72" />
<link href="images/manifest/icon-96.png" rel="apple-touch-icon" sizes="96x96" />
<link href="images/manifest/icon-144.png" rel="apple-touch-icon" sizes="144x144" />
<link href="images/manifest/icon-192.png" rel="apple-touch-icon" sizes="192x192" />
<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta content="images/manifest/icon-144.png" name="msapplication-TileImage" />
<meta content="#00aba9" name="msapplication-TileColor" />
<meta content="no" name="msapplication-tap-highlight" />
<!-- Facebook sharing meta data -->
<meta content="{{ title }}" property="og:title" />
<meta content="{{ title }}" property="og:site_name" />
<meta content="website" property="og:type" />
<meta content="{{ url }}" property="og:url" />
<meta content="{{ description }}" property="og:description" />
<meta content="{{ image }}" property="og:image" />
<meta content="image/jpeg" property="og:image:type" />
<meta property="og:locale" content="en_US" />
<!-- Twitter meta data -->
<meta content="summary_large_image" name="twitter:card" />
<meta content="@{{ organizer.twitter }}" name="twitter:creator" />
<meta content="{{ title }}" name="twitter:title" />
<meta content="{{ description }}" name="twitter:description" />
<meta content="{{ image }}" name="twitter:image" />
<meta name="twitter:label1" value="{{ location.label }}" />
<meta name="twitter:data1" value="{{ location.name }}" />
<meta name="twitter:label2" value="Date" />
<meta name="twitter:data2" value="June 1st 2024" />
<link href="https://fonts.googleapis.com" rel="preconnect" />
<link href="https://firestore.googleapis.com" rel="preconnect" />
<!-- GFont for Product Sans -->
<link
href="https://fonts.googleapis.com/css?family=Product+Sans:400&lang=en"
rel="stylesheet"
/>
<script>
// https://stackoverflow.com/a/50407571/26406
window.process = {
env: {
NODE_ENV: '{{ NODE_ENV }}',
},
};
window.Polymer = {
rootPath: '{{ basepath }}',
};
// prettier-ignore
{{ webVitalsPolyfill | safe }}
// Capture the config object from /__/firebase/init.js for src/firebase.ts
window.firebase = {
initializeApp: (config) => {
window.firebaseConfig = config;
// Delete fake Firebase global
delete window.firebase;
},
};
</script>
<script src="/__/firebase/init.js"></script>
<script src="./src/hoverboard-app.ts" type="module"></script>
<script src="./src/components/app-install.ts" type="module"></script>
<script src="./src/service-worker-registration.ts" type="module"></script>
<style>
html,
body {
min-height: 100%;
height: 100%;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
font-size: 16px;
line-height: 1.5;
}
*,
*:before,
*:after {
box-sizing: border-box;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
/* styling for render while resources are loading */
hoverboard-app[unresolved] {
padding: 0 16px;
display: block;
font-weight: 600;
color: #202020;
overflow: visible;
display: flex;
align-items: center;
vertical-align: middle;
height: 100%;
justify-content: center;
font-size: 2rem;
}
</style>
</head>
<body>
<hoverboard-app unresolved>{{ title }}</hoverboard-app>
<noscript>Please enable JavaScript to view this website.</noscript>
</body>
</html>