This repository has been archived by the owner on Apr 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
344 lines (327 loc) · 9.6 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
<!DOCTYPE HTML>
<!--
Tessellate by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Start the Fire - Impacter nos régions par la puissance de Dieu</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
</head>
<body class="is-preload">
<!-- Header -->
<section id="header" class="dark first">
<div class="lang"><a href="?lang=fr">FR</a> | <a href="?lang=en">EN</a> | <a href="?lang=de">DE</a></div>
<header id="content-index" data-fetch="https://panda.bullenetwork.ch/directus/items/startthefire_pages/1">
<!-- <h1>Start the Fire</h1>
<p>Impacter nos régions par la puissance de Dieu</p> -->
<div class="loadrr">
<div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</header>
<footer>
</footer>
</section>
<!-- First -->
<section id="first" class="main">
<header>
<div class="container" data-fetch="https://panda.bullenetwork.ch/directus/items/startthefire_pages/2">
<div class="loadrr">
<div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</header>
<div class="content dark style1 featured">
<div class="container">
<div class="row">
<div class="col-4 col-12-narrow">
<section>
<span class="feature-icon"><span class="icon fa-clock"></span></span>
<div data-fetch="https://panda.bullenetwork.ch/directus/items/startthefire_pages/3">
<div class="loadrr">
<div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</section>
</div>
<div class="col-4 col-12-narrow">
<section>
<span class="feature-icon"><span class="icon solid fa-bullhorn"></span></span>
<div data-fetch="https://panda.bullenetwork.ch/directus/items/startthefire_pages/4">
<div class="loadrr">
<div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</section>
</div>
<div class="col-4 col-12-narrow">
<section>
<span class="feature-icon"><span class="icon solid fa-music"></span></span>
<div data-fetch="https://panda.bullenetwork.ch/directus/items/startthefire_pages/5">
<div class="loadrr">
<div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</section>
</div>
<div class="col-12">
<footer>
<a href="#second" class="button scrolly">Le programme</a>
</footer>
</div>
</div>
</div>
</div>
</section>
<!-- Second -->
<section id="second" class="main">
<header>
<div class="container" data-fetch="https://panda.bullenetwork.ch/directus/items/startthefire_pages/6">
<div class="loadrr">
<div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</header>
<!-- <div class="content dark style2">
<div class="container">
<div class="row">
<div class="col-4 col-12-narrow">
<section>
<h3>Augue vivamus sed ipsum commodo lorem dolor</h3>
<p>Gravida dis placerat lectus ante vel nunc euismod est turpis sodales. Diam
tempor dui lacinia eget ornare varius gravida. Gravida dis placerat lectus ante
vel nunc euismod est turpis sodales. Diam tempor dui lacinia accumsan vivamus
augue cubilia vivamus nisi eu eget ornare varius gravida euismod. Gravida dis
lorem ipsum dolor placerat magna tempus feugiat.</p>
<p>Lectus ante vel nunc euismod est turpis sodales. Diam tempor dui lacinia
accumsan vivamus augue cubilia vivamus nisi eu eget ornare varius gravida dolore
euismod lorem ipsum dolor.</p>
<footer>
<a href="#third" class="button scrolly">Accumsan nisi tempor</a>
</footer>
</section>
</div>
<div class="col-8 col-12-narrow">
<div class="row">
<div class="col-6"><a href="#" class="image fit"><img src="images/pic01.jpg" alt="" /></a></div>
<div class="col-6"><a href="#" class="image fit"><img src="images/pic02.jpg" alt="" /></a></div>
<div class="col-6"><a href="#" class="image fit"><img src="images/pic03.jpg" alt="" /></a></div>
<div class="col-6"><a href="#" class="image fit"><img src="images/pic04.jpg" alt="" /></a></div>
<div class="col-6"><a href="#" class="image fit"><img src="images/pic05.jpg" alt="" /></a></div>
<div class="col-6"><a href="#" class="image fit"><img src="images/pic06.jpg" alt="" /></a></div>
</div>
</div>
</div>
</div>
</div> -->
<div class="content dark style3">
<div class="container" data-fetch="https://panda.bullenetwork.ch/directus/items/startthefire_pages/7">
<div class="loadrr">
<div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<!-- <h3>19.06.2020</h3>
<div class="table-wrapper">
<table class="default">
<tbody>
<tr>
<td>19:00</td>
<td>ouverture des portes</td>
</tr>
<tr>
<td>19:30</td>
<td>Session 1</td>
</tr>
<tr>
<td>22:00</td>
<td>Fin</td>
</tr>
</tbody>
</table>
</div>
<h3>20.06.2020</h3>
<div class="table-wrapper">
<table class="default">
<tbody>
<tr>
<td>10:00</td>
<td>ouverture des portes</td>
</tr>
<tr>
<td>10:30</td>
<td>Session 2</td>
</tr>
<tr>
<td>12:00</td>
<td>Pause</td>
</tr>
<tr>
<td>13:00</td>
<td>Session 3</td>
</tr>
<tr>
<td>14:00</td>
<td>Outreach</td>
</tr>
<tr>
<td>16:00</td>
<td>Débriefing</td>
</tr>
<tr>
<td>17:00</td>
<td>Pause</td>
</tr>
<tr>
<td>20:00</td>
<td>Ouverture des portes</td>
</tr>
<tr>
<td>20:30</td>
<td>Session 4</td>
</tr>
<tr>
<td>22:00</td>
<td>Fin</td>
</tr>
</tbody>
</table>
</div> -->
</div>
</div>
</section>
<!-- Third -->
<section id="third" class="main">
<header>
<div class="container" data-fetch="https://panda.bullenetwork.ch/directus/items/startthefire_pages/8">
<div class="loadrr">
<div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</header>
<div class="content dark style3">
<div class="container" data-fetch="https://panda.bullenetwork.ch/directus/items/startthefire_pages/9">
<div class="loadrr">
<div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</div>
</section>
<!-- Fourth -->
<section id="fourth" class="main">
<header>
<div class="container" data-fetch="https://panda.bullenetwork.ch/directus/items/startthefire_pages/10">
<div class="loadrr">
<div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</header>
</section>
<!-- Footer -->
<section id="footer">
<ul class="icons">
<li><a href="#" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon brands fa-facebook-f"><span class="label">Facebook</span></a></li>
<li><a href="#" class="icon brands fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="https://github.com/doxa-tech/startthefire.ch" class="icon brands fa-github"><span
class="label">GitHub</span></a></li>
</ul>
<div class="copyright">
<ul class="menu">
<li>© Startthefire. All rights reserved.</li>
<li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
</ul>
</div>
</section>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<script>
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
var lang = urlParams.get("lang")
if (lang === null && (lang != "en" || lang != "de")) {
lang = "fr"
}
var contentField = "content"
if (lang !== "fr") {
contentField = contentField + "_" + lang
}
const boxPadding = 300;
const maxRetry = 3;
const waitFetch = 10;
document.querySelectorAll('[data-fetch]').forEach((el, id) => {
const url = el.dataset.fetch
const checkLoad = function () {
var position = el.getBoundingClientRect();
// checking for partial visibility
if (position.top < window.innerHeight + boxPadding && position.bottom >= -boxPadding) {
window.removeEventListener('scroll', checkLoad);
fetch(url).then((resp) => {
return resp.json();
}).then((data) => {
el.innerHTML = data.data[contentField]
});
}
}
checkLoad();
window.addEventListener('scroll', checkLoad);
});
</script>
</body>
</html>