forked from TheDataShed/leeds-digital-festival-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
152 lines (126 loc) · 5.82 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="generator" content="Leeds Digital Festival App">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=no, viewport-fit=cover">
<title>Leeds Digital Festival App</title>
<meta name="description" content="Leeds Digital Festival App">
<meta name="author" content="The DataShed">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@LeedsDigiFest">
<meta name="twitter:creator" content="@TheDataShed">
<meta name="twitter:title" content="Leeds Digital Festival App">
<meta name="twitter:description" content="The Leeds Digital Festival is an open platform event, which means any individual or company can take part.">
<meta name="twitter:image" content="/images/manifest/icon-192x192.png">
<meta property="og:url" content="https://ldf.azureedge.net/">
<meta property="og:type" content="website">
<meta property="og:title" content="Leeds Digital Festival App">
<meta property="og:description" content="The Leeds Digital Festival is an open platform event, which means any individual or company can take part.">
<meta property="og:image" content="/images/manifest/icon-192x192.png">
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon">
<!-- See https://goo.gl/OOhYW5 -->
<link rel="manifest" href="/manifest.json">
<!-- See https://goo.gl/qRE0vM -->
<meta name="theme-color" content="#F5F5F5">
<!-- Add to homescreen for Chrome on Android. Fallback for manifest.json -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="Leeds Digital Festival App">
<!-- 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="Leeds Digital Festival 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="#F5F5F5">
<meta name="msapplication-tap-highlight" content="no">
<!-- Preload -->
<link rel="preload" href="/src/ldf-app.js" as="script" crossorigin>
<!-- Set up service worker -->
<script async>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('/service-worker.js');
});
}
</script>
<!-- Load babel polyfills -->
<script nomodule src="/node_modules/@babel/polyfill/dist/polyfill.min.js"></script>
<!-- Load Custom Elements es5 adapter -->
<script nomodule src="/node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script>
<!-- Load webcomponents to check and load any polyfills your browser needs -->
<script nomodule src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js"></script>
<!-- Add any fonts here (recommend async loading) -->
<link href="https://fonts.googleapis.com/css?family=Material+Icons&display=swap" rel="stylesheet" media="print" onload="this.media='all'">
<!-- Load system modules for IE11 -->
<script nomodule src="/legacy/s.min.js"></script>
<!-- Add any global styles for body, document, etc. -->
<style>
@font-face {
font-family: "ahamono";
font-display: swap;
src: url('/assets/fonts/AHAMONO-Regular.woff2');
}
@font-face {
font-family: "worksans";
font-display: swap;
src: url('/assets/fonts/worksans.woff2');
}
body {
margin: 0;
font-family: "ahamono", "worksans", sans-serif;
line-height: 1.5;
min-height: 100vh;
color: #1D1D1B;
background-color: #E2E2E2;
transform: transale3d(0, 0, 0);
-webkit-overflow-scrolling: touch;
padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);
padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
input,
select,
textarea,
button,
label {
font-family: inherit;
}
</style>
</head>
<body>
<ldf-app></ldf-app>
<noscript>
Please enable JavaScript to view this website.
</noscript>
<!-- Check if dynamic imports supported, this will throw if dynamic import is not supported -->
<script type="module">
window.esDynamicImport = true;
import('/src/ldf-app.js');
</script>
<!-- This will load in all the nomodule scripts for browsers that don't support lazy loading (imports not at the top level) e.g. Firefox -->
<script type="module">
if (!window.esDynamicImport) {
const noms = Array.prototype.slice.call(document.getElementsByTagName('script'), 0).filter(x => x.hasAttribute('nomodule'));
function nextLoad(nom, s) {
if (!(nom = noms.shift())) return;
s = document.createElement('script');
if (nom.src) s.src = nom.src, s.addEventListener('load', nextLoad), s.addEventListener('error', nextLoad);
else s.innerHTML = nom.innerHTML;
document.head.appendChild(s);
if (!nom.src) nextLoad();
}
nextLoad();
}
</script>
<script nomodule>
System.import('/legacy/src/ldf-app.js');
</script>
</body>
</html>