-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
446 lines (332 loc) · 16.4 KB
/
index.html
File metadata and controls
446 lines (332 loc) · 16.4 KB
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
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="style.css">
<!-- For external links (prevents external page gaining access):
<a href="http://icloop.tech/"
rel="noopener noreferrer"
terget="_blank">
External link
</a>
-->
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport"
content="width=device-width, height=device-height, viewport-fit=cover, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="stylesheet" href="../reset.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css"
integrity="sha384-SZXxX4whJ79/gErwcOYf+zWLeJdY/qpuqC4cAa9rOGUstPomtqpuNWT9wdPEn2fk" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css"
integrity="sha512-yHknP1/AwR+yx26cB1y0cjvQUMvEa2PFzt1c9LlS4pRQ5NOTZFWbhBig+X9G9eYW/8m0/4OXNx8pxJ6z57x0dw=="
crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css"
integrity="sha512-17EgCFERpgZKcm0j0fEq1YCJuyAWdz9KUtv1EjVuaOz8pDnh/0nZxmU6BBXwaaxqoi9PQXnRWqlcDB027hgv9A=="
crossorigin="anonymous" />
<link href="https://allfont.net/allfont.css?fonts=exo-demibold" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="../style.css">
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.7.0/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.7.0/ScrollTrigger.min.js"></script>
<script src="dot-nav-min.js"></script>
<title>ICLoop</title>
<link rel="icon" type="image/png" href="./images/logo/ICL.png" sizes="32x32" /> <!--favicon-->
<link rel="apple-touch-icon" href="./images/logo/ICL.png" sizes="48x48" /> <!--touch icon = favicon for mobile-->
<!-- FULLPAGE.JS FILES -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.1.2/fullpage.min.js" integrity="sha512-gSf3NCgs6wWEdztl1e6vUqtRP884ONnCNzCpomdoQ0xXsk06lrxJsR7jX5yM/qAGkPGsps+4bLV5IEjhOZX+gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.1.2/fullpage.css" integrity="sha512-TD/aL30dNLN0VaHVoh9voFlNi7ZuWQYtV4bkIJv2ulZ8mEEkZJ7IyGvDthMKvIUwzLmPONnjQlAi55HTERVXpw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<div class="navbar">
<div class="container">
<a href="index.html">
<img src="./images/logo/ICL.png" id="home_logo" alt="ICL logo">
</a>
<nav>
<ul class="primary-nav">
<li><a class = "titlepoints" href="about.html">About Us</a></li>
<li><a class = "titlepoints" href="team.html">The Team</a></li>
<li><a class = "titlepoints" href="sponsor.html">Our Partners</a></li>
<li><a class = "titlepoints" href="technology.html">Our Technology</a></li>
<li><a class = "titlepoints" href="contact_us.html">Contact Us</a></li>
<li>
<div class="social-icons">
<a href="https://www.facebook.com/imperialcollegeloop/"><i class="fab fa-facebook-square titlepoints"></i></a>
<a href="https://www.instagram.com/imperialcollegeloop/"><i class="fab fa-instagram-square titlepoints"></i></a>
<a href="https://www.linkedin.com/company/icloop"><i class="fab fa-linkedin titlepoints"></i></a>
</div>
</li>
</ul>
</nav>
</div>
<main>
<section class="sections landingPage" id="land">
<!--h1>The future of transport must be sustainable. <br></br>ICLoop will take us there.</h1>
<And we need to act now. We won't get
second chances.
<img src="../images/loop.gif" style="z-index: 10;">
<div class="circles"><img src="../images/logo/ICLogo.png"></div-->
<h1>We are
<span
class="txt-rotate"
data-period="2000"
data-rotate='[ "fast.", "innovative.", "ICLoop."]'></span>
</h1>
<div class="lander">
<button class="button glow-on-hover" onclick="scrollToPod()">Start the Journey</button>
</div>
</section>
<!--nav id="dot-nav"></nav-->
<ul class=menu>
<li >
<button class="dot" onclick="scrollToSection(1);">
</button>
</li>
<li >
<button class="dot" onclick="scrollToSection(2);">
</button>
</li>
<li>
<button class="dot" onclick="scrollToSection(3);">
</button>
</li>
<li >
<button class="dot" onclick="scrollToSection(4);">
</button>
</li>
<li >
<button class="dot" onclick="scrollToSection(5);">
</button>
</li>
</ul>
<div id="scroll"></div>
<!-- <section class="sections mission" id="fullpage">
<div class="R intro-1 section" >Revolutionise.</div>
<div class="R intro-2 section">Redefine.</div>
<div class="R intro-3 section">Reclaim.</div>
</section> -->
<section class="sections mission">
<div class="mission-fixed-part">
<canvas class="mission-canvas">
</div>
</canvas>
</section>
<!-- 3D pod -->
<section class="sections pod-section">
<script type="module" src="main.js"></script>
<div class="pod">
<h1>The Pod</h1>
</div>
<div id="3d-pod">
<div id="pod-container">
</div>
</div>
</section>
<section class="sections section2 subteams-section">
<!--descriptions from instagram posts-->
<div>
<!--h1 id="teams-title">Subsystems</h1-->
<div id="teams">
<div class="centerwrapper">
<div class="team-container" id="aero" tabindex="1">
<p class="team-name">Aerodynamics</p>
<p class="team-description">We are in charge of designing and manufacturing the aerodynamic
shell,
which encloses all of the subsystems on the pod. This gives us a significant reduction
in drag,
allowing us to reach speeds of up to 400 km/h!</p>
</div>
<div class="team-container" id="chas" tabindex="1">
<p class="team-name">Chassis & Integration</p>
<p class="team-description">Chassis and Integration is designing the most mass efficient chassis possible.
Our team also investigates optimal material choices, manufacturing processes and is responsible for ensuring that
each subteam works in full coordination.</p>
</div>
<div class="team-container" id="elec" tabindex="1">
<p class="team-name">Electronics</p>
<p class="team-description">We are designing an autonomous platform to control the
propulsion,
levitation and braking systems, and to interface with many high-precision sensors to
fully capture the
flight state and health of the vehicle. <br> We are also developing our own high-power
system.</p>
</div>
<div class="team-container" id="lsb" tabindex="1">
<p class="team-name">Levitation, Suspension & Braking</p>
<p class="team-description">We are developing a rotating Halbach array to levitate the pod via a magnetic force. This method is contactless and thus eliminates most friction. We are also responsible for designing the suspension system, which we modeled as a system of harmonic oscillators. Finally, we are building a passive electromagnetic breaking system to stop the pod.</p>
</div>
<div class="team-container" id="prop" tabindex="1">
<p class="team-name">Propulsion</p>
<p class="team-description">We are developing a custom double-sided linear induction motor
that will generate enough thrust to meet top speeds of up to 400 km/h. The motor will
deliver this high performance without overheating or compromising the structural integrity
of the chassis.</p>
</div>
</div>
</div>
</div>
</section>
<section class="sections social">
<h1>Latest News</h1>
<div id="news-carousel">
<div class="news-slides">
<a href = https://www.linkedin.com/feed/update/urn:li:activity:6746203039364911104>
<img src="./images/News/design.png" alt="Design Report"></img>
</a>
</div>
<div class="news-slides">
<a href = https://www.instagram.com/p/CM0E3furvfW/?utm_source=ig_web_copy_link>
<img src="./images/News/hyperloop.png" alt="What is a Hyperloop?"></img>
</a>
</div>
<div class="news-slides">
<a href = https://www.instagram.com/p/CaPE4BEgVW2/>
<img src="./images/News/student_competition.jpeg" alt="Why have a student competition?"></img>
</a>
</div>
</div>
</section>
<section class="sections competition">
<div>
<h1>European Hyperloop Week (EHW)</h1>
</div>
<div class="countdown">
<div id="competition-counter">
<div id="timer"></div>
</div>
<a href="https://linktr.ee/ICLoop" class="button">Get Involved!</a>
</div>
</section>
</main>
<footer>
<img src="./images/sponsors/Imperial.png" alt="for the clout"></img>
<img src="./images/sponsors/Comsol.png" alt="simulations"></img>
<img src="./images/sponsors/jlcpcb.svg" alt="simulations"></img>
<img src="./images/sponsors/Monolith.jpg" alt="some AI stuff?"></img>
<img src="./images/logo/ICLogo.png" alt="hey, this us!"></img>
</footer>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"
integrity="sha512-XtmMtDEcNz2j7ekrtHvOVR4iwwaD6o/FUJe6+Zq+HgcCsk3kj4uSQQR8weQ2QVj1o0Pk6PwYLohm206ZzNfubg=="
crossorigin="anonymous"></script>
<script type="text/javascript">
//CODE FOR THE FULLPAGE.JS FOR RRR snapping to place
// new fullpage('#fullpage', {
// //options here
// autoScrolling:true,
// scrollBar: true,
// });
// //methods
// fullpage_api.setAllowScrolling(true);
//CODE FOR THE CAROUSELS
$(document).ready(function () {
$('#leads-carousel').slick({
autoplay: true,
dots: true,
infinite: true,
centerMode: true,
variableWidth: true,
adaptiveHeight: true,
initialSlide: 0,
speed: 1000,
vertical: false,
autoplaySpeed: 3000,
swipeToSlide: true,
waitForAnimate: true,
});
$('#news-carousel').slick({
// autoplay: true,
dots: true,
infinite: false,
centerMode: true,
variableWidth: true,
adaptiveHeight: true,
initialSlide: 1,
speed: 1000,
vertical: false,
// autoplaySpeed: 3000,
swipeToSlide: true,
waitForAnimate: true,
})
});
//start the journey button scroll animation
function scrollDelay(ms) {
return new Promise(res => setTimeout(res, ms));
}
const podSection = document.getElementsByClassName("pod-section")[0];
const subteamsSection = document.getElementsByClassName("subteams-section")[0];
const newsSection = document.getElementsByClassName("social")[0];
const leadsSection = document.getElementsByClassName("leads")[0];
const competitionSection = document.getElementsByClassName("competition")[0];
let scrollToSection = (whereTo) => {
const offset = -50;
if(whereTo == 1){
window.scrollTo({top: podSection.offsetTop + offset, behavior: 'smooth'})
} else if(whereTo == 2) {
window.scrollTo({top: subteamsSection.offsetTop + offset, behavior: 'smooth'})
} else if (whereTo == 3){
window.scrollTo({top: newsSection.offsetTop + offset, behavior: 'smooth'})
} else if(whereTo == 4) {
window.scrollTo({top: leadsSection.offsetTop + offset, behavior: 'smooth'})
} else if (whereTo == 5){
window.scrollTo({top: competitionSection.offsetTop + offset, behavior: 'smooth'})
}
};
let scrollToPod = async () =>{
console.log(0,podSection.offsetTop);
for (var y = 0; y <= podSection.offsetTop; y += 50) {
window.scrollTo({top: y, behavior: 'smooth'})
await scrollDelay(100)
}
}
gsap.registerPlugin(ScrollTrigger);
let sections = gsap.utils.toArray(".R");
// gsap.to(".intro-1", {
// scrollTrigger: {
// trigger: ".intro-1",
// start: "center center",
// end: "bottom center",
// pin:true, //change this for keeping the text in the middle while it's growing
// scrub: true,
// toggleClass: "visible",
// snap: 1 / (sections.length - 1)
// },
// fontSize: 400,
// ease: "none",
// });
// gsap.to(".intro-2", {
// scrollTrigger: {
// trigger: ".intro-2",
// start: "center center",
// end: "bottom center",
// pin:true, //change this for keeping the text in the middle while it's growing
// scrub: true,
// toggleClass: "visible"
// },
// fontSize: 400,
// ease: "none",
// });
// gsap.to(".intro-3", {
// scrollTrigger: {
// trigger: ".intro-3",
// start: "center center",
// end: "bottom center",
// pin:true, //change this for keeping the text in the middle while it's growing
// scrub: true,
// toggleClass: "visible"
// },
// fontSize: 400,
// ease: "none",
// });
/* .forEach((panel, i) => {
ScrollTrigger.create({
trigger: panel,
});*/
</script>
<script src="javascript.js"></script>
</body>
</html>