-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (84 loc) · 2.73 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
---
layout: normal
title: Hacktival 2019
color: "#ff00b6"
bg_url: "/assets/images/shapes/alleFormen_pink_transparent.svg"
bg_position: "center center"
---
<section class="box">
<header class="content-header">
<h1>{{ site.slogan }}</h1>
<p><strong>{{ site.date }}</strong></p>
<!--
<a class="btn" href="{{ site.apply_url }}" target="_blank" rel="noopener">Apply Now</a>
-->
<p><strong id="coutdown">Loading...</strong></p>
</header>
</section>
<section class="box">
<header class="content-header">
<h3>The Inofficial Hacktival Aftermovie</h3>
</header>
<div class="embed-16-9">
<iframe src="https://www.youtube-nocookie.com/embed/ZlABqH9f7mA" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</section>
<section class="box">
<header class="content-header">
<h3>Last Years Opencodes Aftermovie</h3>
</header>
<div class="embed-16-9">
<iframe src="https://www.youtube-nocookie.com/embed/-a3AVD9Izk0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</section>
<script type="text/javascript">
var countDownDate = new Date("{{ site.deadline }}");
var x = setInterval(function() {
var now = new Date().getTime();
var distance = countDownDate - now;
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
var message = "{{ site.deadline_title }} " + days + "d " + hours + "h " + minutes + "m " + seconds + "s ";
document.getElementById("coutdown").innerHTML = message;
if (distance < 0) {
clearInterval(x);
document.getElementById("coutdown").innerHTML = "{{ site.deadline_expired }}";
}
}, 1000);
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Event",
"name": "Hacktival Hackthon",
"description": "The Hacktival Hackthon is the largest student-run hackathon in Germany.",
"image": "https://hacktival.io/assets/images/htv_cover_image.jpg",
"startDate": "2019-05-11T09:00",
"endDate": "2019-05-12T19:00",
"organizer": {
"name": "Hack und Söhne"
},
"location": {
"@type": "Place",
"name": "ZKM",
"address": {
"@type": "PostalAddress",
"streetAddress": "Lorenzstraße 19",
"addressLocality": "Karlsruhe",
"postalCode": "76135",
"addressCountry": "DE"
}
},
"offers": {
"@type": "Offer",
"name": "Admission",
"price": "0",
"priceCurrency": "EUR",
"validFrom": "2019-05-11T09:00",
"url": "https://apply.hacktival.io/",
"availability": "http://schema.org/InStock"
}
}
</script>