-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (69 loc) · 2.3 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
---
layout: normal
title: hackathon x
color: "#ff00b6"
bg_url: "/assets/images/X.svg"
bg_position: "center center"
bg_size: "50% 50%"
---
<section class="box">
<header class="content-header">
<h1>{{ site.slogan }}</h1>
<h2>{{ site.subslogan }}</h2>
<p><strong>{{ site.date }}</strong></p>
<br/>
<h2>Thanks for the awesome hackathon!</h2>
<p>hackathon x vol. 2 is over. <b>You can find the results here: <a href="https://hackathon-x.devpost.com/project-gallery">Results</a>.</b> Thanks to all participants, jury members, speakers and organizers! Perhaps we will meet again at the next hackathon...</p>
</header>
</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": "hackathon x",
"description": "The hackathon x invites hackers to work on awesome projects in a museum context. It takes place in Karlsruhe, Germany.",
"image": "https://hackathonx.de/assets/images/logos/hackathonx-logo.svg",
"startDate": "2021-06-25T09:00",
"endDate": "2021-06-27T19:00",
"organizer": {
"name": "Hack und Söhne"
},
"location": {
"@type": "Place",
"name": "Museum beim Markt",
"address": {
"@type": "PostalAddress",
"streetAddress": "Karl-Friedrichstr. 6",
"addressLocality": "Karlsruhe",
"postalCode": "76133",
"addressCountry": "DE"
}
},
"offers": {
"@type": "Offer",
"name": "Admission",
"price": "0",
"priceCurrency": "EUR",
"validFrom": "2021-05-01T09:00",
"url": "https://apply.hackathonx.de/",
"availability": "http://schema.org/InStock"
}
}
</script>