Skip to content

Commit 3fe681c

Browse files
simonstadlingertommartensen
authored andcommitted
Sponsors Information and Logos (#113)
* added github and mTomady to partners, prepared capgemini and brotfuerdiewelt * removed inactive orga-team members, added bort fuer die welt sponsortext stub * added bfdw-logo, capgemini-logo, re-arranged partner logos so it looks more pleasing, never mind the branch title * added capgemini text * added twilio logo * switched capgemini and deloitte both on overview and partner information * aded brot für die welt text
1 parent 15a1d5d commit 3fe681c

File tree

9 files changed

+301
-31
lines changed

9 files changed

+301
-31
lines changed
24 KB
Loading
197 KB
Loading
17.6 KB
Loading
14.6 KB
Loading
5.39 KB
Loading
15.8 KB
Loading

hackhpi_assets/jquery.countdown.js

Lines changed: 237 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,237 @@
1+
/*!
2+
* The Final Countdown for jQuery v2.1.0 (http://hilios.github.io/jQuery.countdown/)
3+
* Copyright (c) 2015 Edson Hilios
4+
*
5+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
* this software and associated documentation files (the "Software"), to deal in
7+
* the Software without restriction, including without limitation the rights to
8+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
* the Software, and to permit persons to whom the Software is furnished to do so,
10+
* subject to the following conditions:
11+
*
12+
* The above copyright notice and this permission notice shall be included in all
13+
* copies or substantial portions of the Software.
14+
*
15+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21+
*/
22+
(function(factory) {
23+
"use strict";
24+
if (typeof define === "function" && define.amd) {
25+
define([ "jquery" ], factory);
26+
} else {
27+
factory(jQuery);
28+
}
29+
})(function($) {
30+
"use strict";
31+
var instances = [], matchers = [], defaultOptions = {
32+
precision: 100,
33+
elapse: false
34+
};
35+
matchers.push(/^[0-9]*$/.source);
36+
matchers.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source);
37+
matchers.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source);
38+
matchers = new RegExp(matchers.join("|"));
39+
function parseDateString(dateString) {
40+
if (dateString instanceof Date) {
41+
return dateString;
42+
}
43+
if (String(dateString).match(matchers)) {
44+
if (String(dateString).match(/^[0-9]*$/)) {
45+
dateString = Number(dateString);
46+
}
47+
if (String(dateString).match(/\-/)) {
48+
dateString = String(dateString).replace(/\-/g, "/");
49+
}
50+
return new Date(dateString);
51+
} else {
52+
throw new Error("Couldn't cast `" + dateString + "` to a date object.");
53+
}
54+
}
55+
var DIRECTIVE_KEY_MAP = {
56+
Y: "years",
57+
m: "months",
58+
n: "daysToMonth",
59+
w: "weeks",
60+
d: "daysToWeek",
61+
D: "totalDays",
62+
H: "hours",
63+
M: "minutes",
64+
S: "seconds"
65+
};
66+
function escapedRegExp(str) {
67+
var sanitize = str.toString().replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1");
68+
return new RegExp(sanitize);
69+
}
70+
function strftime(offsetObject) {
71+
return function(format) {
72+
var directives = format.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);
73+
if (directives) {
74+
for (var i = 0, len = directives.length; i < len; ++i) {
75+
var directive = directives[i].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/), regexp = escapedRegExp(directive[0]), modifier = directive[1] || "", plural = directive[3] || "", value = null;
76+
directive = directive[2];
77+
if (DIRECTIVE_KEY_MAP.hasOwnProperty(directive)) {
78+
value = DIRECTIVE_KEY_MAP[directive];
79+
value = Number(offsetObject[value]);
80+
}
81+
if (value !== null) {
82+
if (modifier === "!") {
83+
value = pluralize(plural, value);
84+
}
85+
if (modifier === "") {
86+
if (value < 10) {
87+
value = "0" + value.toString();
88+
}
89+
}
90+
format = format.replace(regexp, value.toString());
91+
}
92+
}
93+
}
94+
format = format.replace(/%%/, "%");
95+
return format;
96+
};
97+
}
98+
function pluralize(format, count) {
99+
var plural = "s", singular = "";
100+
if (format) {
101+
format = format.replace(/(:|;|\s)/gi, "").split(/\,/);
102+
if (format.length === 1) {
103+
plural = format[0];
104+
} else {
105+
singular = format[0];
106+
plural = format[1];
107+
}
108+
}
109+
if (Math.abs(count) === 1) {
110+
return singular;
111+
} else {
112+
return plural;
113+
}
114+
}
115+
var Countdown = function(el, finalDate, options) {
116+
this.el = el;
117+
this.$el = $(el);
118+
this.interval = null;
119+
this.offset = {};
120+
this.options = $.extend({}, defaultOptions);
121+
this.instanceNumber = instances.length;
122+
instances.push(this);
123+
this.$el.data("countdown-instance", this.instanceNumber);
124+
if (options) {
125+
if (typeof options === "function") {
126+
this.$el.on("update.countdown", options);
127+
this.$el.on("stoped.countdown", options);
128+
this.$el.on("finish.countdown", options);
129+
} else {
130+
this.options = $.extend({}, defaultOptions, options);
131+
}
132+
}
133+
this.setFinalDate(finalDate);
134+
this.start();
135+
};
136+
$.extend(Countdown.prototype, {
137+
start: function() {
138+
139+
if (this.interval !== null) {
140+
clearInterval(this.interval);
141+
}
142+
var self = this;
143+
this.update();
144+
this.interval = setInterval(function() {
145+
self.update.call(self);
146+
}, this.options.precision);
147+
},
148+
stop: function() {
149+
clearInterval(this.interval);
150+
this.interval = null;
151+
this.dispatchEvent("stoped");
152+
},
153+
toggle: function() {
154+
if (this.interval) {
155+
this.stop();
156+
} else {
157+
this.start();
158+
}
159+
},
160+
pause: function() {
161+
this.stop();
162+
},
163+
resume: function() {
164+
this.start();
165+
},
166+
remove: function() {
167+
this.stop.call(this);
168+
instances[this.instanceNumber] = null;
169+
delete this.$el.data().countdownInstance;
170+
},
171+
setFinalDate: function(value) {
172+
this.finalDate = parseDateString(value);
173+
},
174+
update: function() {
175+
if (this.$el.closest("html").length === 0) {
176+
this.remove();
177+
return;
178+
}
179+
var hasEventsAttached = $._data(this.el, "events") !== undefined, now = new Date(), newTotalSecsLeft;
180+
newTotalSecsLeft = this.finalDate.getTime() - now.getTime();
181+
182+
newTotalSecsLeft = Math.ceil(newTotalSecsLeft / 1e3);
183+
newTotalSecsLeft = !this.options.elapse && newTotalSecsLeft < 0 ? 0 : Math.abs(newTotalSecsLeft);
184+
if (this.totalSecsLeft === newTotalSecsLeft || !hasEventsAttached) {
185+
return;
186+
} else {
187+
this.totalSecsLeft = newTotalSecsLeft;
188+
}
189+
this.elapsed = now >= this.finalDate;
190+
this.offset = {
191+
seconds: this.totalSecsLeft % 60,
192+
minutes: Math.floor(this.totalSecsLeft / 60) % 60,
193+
hours: Math.floor(this.totalSecsLeft / 60 / 60) % 24,
194+
days: Math.floor(this.totalSecsLeft / 60 / 60 / 24) % 7,
195+
daysToWeek: Math.floor(this.totalSecsLeft / 60 / 60 / 24) % 7,
196+
daysToMonth: Math.floor(this.totalSecsLeft / 60 / 60 / 24 % 30.4368),
197+
totalDays: Math.floor(this.totalSecsLeft / 60 / 60 / 24),
198+
weeks: Math.floor(this.totalSecsLeft / 60 / 60 / 24 / 7),
199+
months: Math.floor(this.totalSecsLeft / 60 / 60 / 24 / 30.4368),
200+
years: Math.abs(this.finalDate.getFullYear() - now.getFullYear())
201+
};
202+
if (!this.options.elapse && this.totalSecsLeft === 0) {
203+
this.stop();
204+
this.dispatchEvent("finish");
205+
} else {
206+
this.dispatchEvent("update");
207+
}
208+
},
209+
dispatchEvent: function(eventName) {
210+
var event = $.Event(eventName + ".countdown");
211+
event.finalDate = this.finalDate;
212+
event.elapsed = this.elapsed;
213+
event.offset = $.extend({}, this.offset);
214+
event.strftime = strftime(this.offset);
215+
this.$el.trigger(event);
216+
}
217+
});
218+
$.fn.countdown = function() {
219+
var argumentsArray = Array.prototype.slice.call(arguments, 0);
220+
return this.each(function() {
221+
var instanceNumber = $(this).data("countdown-instance");
222+
if (instanceNumber !== undefined) {
223+
var instance = instances[instanceNumber], method = argumentsArray[0];
224+
if (Countdown.prototype.hasOwnProperty(method)) {
225+
instance[method].apply(instance, argumentsArray.slice(1));
226+
} else if (String(method).match(/^[$A-Z_][0-9A-Z_$]*$/i) === null) {
227+
instance.setFinalDate.call(instance, method);
228+
instance.start();
229+
} else {
230+
$.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi, method));
231+
}
232+
} else {
233+
new Countdown(this, argumentsArray[0], argumentsArray[1]);
234+
}
235+
});
236+
};
237+
});

index.html

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@
6565
<span class="subtitle">18 - 19 May 2019<br>Hasso Plattner Institute (close to Berlin)</span>
6666
</div>
6767
</div>
68-
<!-- <div class="row">
69-
<div class="col-md-4 col-md-offset-4">
70-
<a id="applyNowButton" class="btn" href="live"><span>Visit live page</span></a>
71-
</div>
72-
</div> -->
7368
</div>
7469

7570
<div class="bg-overlay-gradient"></div>
@@ -123,28 +118,44 @@ <h1 class="text-center">Partners</h1>
123118
</div>
124119

125120
<div class="row sponsors-giga">
126-
<div class="col-md-6">
121+
<div class="col-md-12 top50">
127122
<a href="https://sap.com/" class="sponsor" target="_blank">
128123
<img src="./hackhpi_assets/2019-partners/sap.png">
129124
</a>
130-
</div>
131-
<div class="col-md-6">
132125
<a href="https://www.ibm.com/community/datascience/" class="sponsor" target="_blank">
133126
<img src="./hackhpi_assets/2019-partners/ibm.jpg">
134127
</a>
135128
</div>
136129
</div>
137130

138131
<div class="row sponsors-mega">
139-
<div class="col-md-6">
132+
<div class="col-md-12">
133+
<a href="https://www.capgemini.com/de-de/" class="sponsor" target="_blank">
134+
<img src="./hackhpi_assets/2019-partners/capgemini.jpg">
135+
</a>
140136
<a href="https://www2.deloitte.com" class="sponsor" target="_blank">
141137
<img src="./hackhpi_assets/2019-partners/deloitte.jpg">
142138
</a>
143-
</div><!--
144-
<div class="col-md-6">
145-
<a href="https://www.ibm.com/community/datascience/" class="sponsor" target="_blank">
146-
<img src="./hackhpi_assets/2019-partners/capgemini.jpg">
147-
</a>-->
139+
</div>
140+
</div>
141+
142+
<div class="row sponsors-kilo">
143+
<div class="col-md-12 top50">
144+
<a href="https://www.mtomady.de/" class="sponsor" target="_blank">
145+
<img src="./hackhpi_assets/2019-partners/mTomady.jpeg">
146+
</a>
147+
148+
<a href="https://github.com/" class="sponsor" target="_blank">
149+
<img src="./hackhpi_assets/2019-partners/github.png">
150+
</a>
151+
152+
<a href="https://www.brot-fuer-die-welt.de/" class="sponsor" target="_blank">
153+
<img src="./hackhpi_assets/2019-partners/brotfuerdiewelt.png">
154+
</a>
155+
156+
<a href="https://www.twilio.com/" class="sponsor" target="_blank">
157+
<img src="./hackhpi_assets/2019-partners/twilio-logo-red.png">
158+
</a>
148159
</div>
149160
</div>
150161

@@ -163,7 +174,7 @@ <h1 class="text-center">Partners</h1>
163174
<div class="row">
164175
<div class="col-md-12 top50">
165176
<p class="text-center">
166-
<a href="./partner-information">More information about our partners</a>
177+
<a href="./partner-information.html">More information about our partners</a>
167178
</p>
168179
</div>
169180
</div>
@@ -462,27 +473,12 @@ <h3 class="text-colored text-center">Organizers</h3>
462473
</div>
463474
<div class="row">
464475
<div class="col-md-12">
465-
<div class="team-member col-md-4">
466-
<span class="member-title">Daniel Thevessen</span>
467-
</div>
468-
<div class="team-member col-md-4">
469-
<span class="member-title">Ann Katrin Kuessner</span>
470-
</div>
471476
<div class="team-member col-md-4">
472477
<span class="member-title">Leo Wendt</span>
473478
</div>
474479
<div class="team-member col-md-4">
475480
<span class="member-title">Marc Rosenau</span>
476481
</div>
477-
<div class="team-member col-md-4">
478-
<span class="member-title">Jorin Heide</span>
479-
</div>
480-
<div class="team-member col-md-4">
481-
<span class="member-title">Carl Gödecken</span>
482-
</div>
483-
<div class="team-member col-md-4">
484-
<span class="member-title">Jonathan Schneider</span>
485-
</div>
486482
<div class="team-member col-md-4">
487483
<span class="member-title">Tom Martensen</span>
488484
</div>
@@ -498,6 +494,9 @@ <h3 class="text-colored text-center">Organizers</h3>
498494
<div class="team-member col-md-4">
499495
<span class="member-title">Simon Stadlinger</span>
500496
</div>
497+
<div class="team-member col-md-4">
498+
<span class="member-title">Lilith Diringer</span>
499+
</div>
501500
</div>
502501
</div>
503502
</div>

0 commit comments

Comments
 (0)