-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
308 lines (264 loc) · 10.6 KB
/
contact.html
File metadata and controls
308 lines (264 loc) · 10.6 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
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.8.0 -->
<title>Contact | Algorithmic Bioinformatics</title>
<meta name="generator" content="Jekyll v4.1.1" />
<meta property="og:title" content="Contact" />
<meta property="og:locale" content="en_US" />
<link rel="canonical" href="https://username.github.io/contact.html" />
<meta property="og:url" content="https://username.github.io/contact.html" />
<meta property="og:site_name" content="Algorithmic Bioinformatics" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Contact" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"WebPage","headline":"Contact","url":"https://username.github.io/contact.html"}</script>
<!-- End Jekyll SEO tag -->
<link rel="stylesheet" href="/assets/main.css"><link type="application/atom+xml" rel="alternate" href="https://username.github.io/feed.xml" title="Algorithmic Bioinformatics" /><script type='text/javascript'>
/* global google */
/* global MarkerClusterer */
// eslint-disable-next-line no-unused-vars
var jekyllMaps = (function() {
'use strict'
var clusterSettings = {}
var clusterReady = false
var mapReady = false
var options = {}
var data = []
var maps = []
return {
initializeMap: initializeMap,
initializeCluster: initializeCluster,
register: register
}
/**
* Setup Google Maps options and call renderer.
*/
function initializeMap() {
options = {
mapTypeId: google.maps.MapTypeId.ROADMAP,
center: new google.maps.LatLng(0, 0),
styles: []
}
mapReady = true
render()
}
/**
* Register map data to be rendered once Google Maps API is loaded.
*
* @param string id
* @param Array locations
* @param Object settings
*/
function register(id, locations, options) {
data.push({ id: id, locations: locations, options: options })
render()
}
/**
* Render maps data if Google Maps API is loaded.
*/
function render() {
if (!mapReady) return
while (data.length > 0) {
var item = data.pop()
var bounds = new google.maps.LatLngBounds()
var mapOptions = Object.assign({}, options, item.options)
var map = new google.maps.Map(
document.getElementById(item.id),
mapOptions
)
var infoWindow = new google.maps.InfoWindow()
var markers = item.locations.map(createMarker)
map.fitBounds(bounds)
google.maps.event.addListenerOnce(map, 'idle', function() {
if (this.customZoom) this.setZoom(this.customZoom)
})
if (mapOptions.useCluster) {
maps.push({ map: map, markers: markers })
processCluster()
}
}
function createMarker(location) {
var position = new google.maps.LatLng(
location.latitude,
location.longitude
)
bounds.extend(position)
if (!mapOptions.showMarker) return false
var marker = new google.maps.Marker({
position: position,
title: location.title,
image: location.image,
popup_html: location.popup_html,
icon: location.icon || mapOptions.markerIcon,
url: markerUrl(mapOptions.baseUrl, location.url),
url_text: location.url_text,
map: map
})
if (mapOptions.showMarkerPopup) marker.addListener('click', markerPopup)
return marker
}
function markerUrl(baseUrl, url) {
if (/^(https?|\/\/)/.test(url)) return url
return url.length > 0 ? baseUrl + url : ''
}
function markerPopup() {
var content = '<div class="map-info-window"><h5>' + this.title + '</h5>'
if (this.popup_html.length > 0) {
content += this.popup_html
}
else {
var imageTag =
this.image.length > 0 &&
'<img src="' + this.image + '" alt="' + this.title + '"/>'
if (this.url.length > 0) {
var linkContent = imageTag || this.url_text || 'View'
content += '<a href="' + this.url + '">' + linkContent + '</a>'
} else if (imageTag) {
content += imageTag
}
}
content += '</div>'
infoWindow.setContent(content)
infoWindow.open(map, this)
}
}
function initializeCluster(settings) {
clusterReady = true
clusterSettings = settings || {}
processCluster()
}
function processCluster() {
if (!clusterReady) return
while (maps.length > 0) {
var obj = maps.pop()
// eslint-disable-next-line no-new
new MarkerClusterer(obj.map, obj.markers, {
gridSize: clusterSettings.grid_size || 25,
imagePath:
'https://cdn.rawgit.com/googlemaps/js-marker-clusterer/gh-pages/images/m'
})
}
}
})()
/* Object.assign polyfill */
if (typeof Object.assign !== 'function') {
Object.assign = function(target) {
'use strict'
if (target == null) {
throw new TypeError('Cannot convert undefined or null to object')
}
target = Object(target)
for (var index = 1; index < arguments.length; index++) {
var source = arguments[index]
if (source != null) {
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key]
}
}
}
}
return target
}
}
</script>
</head>
<body><header class="site-header" role="banner">
<div class="wrapper"><a class="site-title" rel="author" href="/">Algorithmic Bioinformatics</a><nav class="site-nav">
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger">
<span class="menu-icon">
<svg viewBox="0 0 18 15" width="18px" height="15px">
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
</svg>
</span>
</label>
<div class="trigger"><a class="page-link" href="/research.html">Research</a><a class="page-link" href="/people.html">People</a><a class="page-link" href="/publications.html">Publications</a><a class="page-link" href="/contact.html">Contact</a></div>
</nav></div>
</header>
<main class="page-content" aria-label="Content">
<div class="wrapper">
<article class="post">
<header class="post-header">
<h1 class="post-title">Contact</h1>
</header>
<div class="post-content">
<h2 id="e-mail-and-telephone">E-Mail and Telephone</h2>
<p>Please find our contact information on the LIT website.</p>
<h2 id="visiting-address-regensburg">Visiting Address (Regensburg)</h2>
<p>We are located on the campus of the University hospital Regensburg in the building of the LIT (section D5).</p>
<div id="8001a6d8-a3e6-4484-86f6-b63760830088" style="width:100%;height:400px;" class=" jekyll-map"></div>
<script type="text/javascript">
jekyllMaps.register(
'8001a6d8-a3e6-4484-86f6-b63760830088',
[{"latitude":"48.988327","longitude":"12.086106","title":"Contact","icon":null,"url":"/contact.html","image":"","popup_html":""}],
{"baseUrl":"","useCluster":true,"showMarker":true,"showMarkerPopup":true,"markerIcon":null,"styles":"[]","customZoom":15}
);
</script>
</div>
</article>
</div>
</main><footer class="site-footer h-card">
<data class="u-url" href="/"></data>
<div class="wrapper">
<!-- <h2 class="footer-heading">Algorithmic Bioinformatics</h2> -->
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1"><ul class="social-media-list"><li><a href="https://github.com/kehrlab"><svg class="svg-icon"><use xlink:href="/assets/minima-social-icons.svg#github"></use></svg> <span class="username">kehrlab</span></a></li></ul>
</div>
<div class="footer-col footer-col-3">
<p></p>
</div>
</div>
</div>
</footer>
<script async defer>
// Load maps only when DOM is loaded
document.addEventListener("DOMContentLoaded", function() {
if (window.google && window.google.maps && jekyllMaps) {
// Maps script already loaded -> Execute callback method
jekyllMaps.initializeMap();
} else if (!('IntersectionObserver' in window) ||
!('IntersectionObserverEntry' in window) ||
!('intersectionRatio' in window.IntersectionObserverEntry.prototype)) {
// Intersection Observer -> Backup solution : load maps now
lazyLoadGoogleMap();
} else {
// Google Maps not loaded & Intersection Observer working -> Enable it
enableMapsObserver();
}
});
function enableMapsObserver() {
// Enable Observer on all Maps
var maps = document.getElementsByClassName('jekyll-map');
const observer = new IntersectionObserver(function(entries, observer) {
// Test if one of the maps is in the viewport
var isIntersecting = typeof entries[0].isIntersecting === 'boolean' ? entries[0].isIntersecting : entries[0].intersectionRatio > 0;
if (isIntersecting) {
lazyLoadGoogleMap();
observer.disconnect();
}
});
for(var i = 0; i < maps.length; i++) {
observer.observe(maps[i]);
}
}
function lazyLoadGoogleMap() {
// If google maps api script not already loaded
if(!window.google || !window.google.maps) {
var fjs = document.getElementsByTagName('script')[0];
var js = document.createElement('script');
js.id = 'gmap-api';
js.setAttribute('async', '');
js.setAttribute('defer', '');
js.src = "//maps.google.com/maps/api/js?key=AIzaSyD8czW17RKUzPUsMs-JF-p2vkCtyBnwHfI&callback=jekyllMaps.initializeMap";
fjs.parentNode.insertBefore(js, fjs);
}
}
</script>
<script async defer src='https://cdn.rawgit.com/googlemaps/js-marker-clusterer/gh-pages/src/markerclusterer.js'
onload='jekyllMaps.initializeCluster({})'></script>
</body>
</html>