-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
60 lines (50 loc) · 1.96 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
---
---
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="me" href="https://en.osm.town/@{{ site.twitter.username }}">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"
integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<title>OpenStreetMap Belgium</title>
<style>
html,
body {
height: 100%;
width: 100%;
}
body {
background-image: url({{ 'assets/images/background.jpg' | relative_url }});
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
</style>
</head>
<body class="d-flex align-items-center justify-content-center flex-column">
<img src="{{ site.baseurl }}/assets/images/logo.svg" style="height:200px;">
<div class="list-group text-center">
<a href="{% link en/index.html %}" class="list-group-item list-group-item-action">
OpenStreetMap Belgium (English)
</a>
<a href="{% link fr/index.html %}" class="list-group-item list-group-item-action">
OpenStreetMap Belgique (Français)
</a>
<a href="{% link nl/index.html %}" class="list-group-item list-group-item-action">
OpenStreetMap België (Nederlands)
</a>
</div>
<script>
(function () {
var language = navigator.language || navigator.browserLanguage;
switch (language.slice(0, 2)) {
case "en": document.location.href = "{% link en/index.html %}"; break;
case "fr": document.location.href = "{% link fr/index.html %}"; break;
case "nl": document.location.href = "{% link nl/index.html %}"; break;
}
})();
</script>
</body>
</html>