Skip to content

Commit 0512684

Browse files
committed
Add /world page that shows zoomed-out map by default
1 parent 8e53919 commit 0512684

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

world.html

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
---
3+
4+
<!DOCTYPE html>
5+
<html lang="ja">
6+
<head>
7+
<meta charset="UTF-8" />
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9+
<title>地図から探す (DojoMap) - CoderDojo Japan</title>
10+
<meta content="地図から探す (DojoMap) - CoderDojo Japan" property="og:title">
11+
<meta content="https://map.coderdojo.jp/" property="og:url">
12+
<meta content="715330868" property="fb:admins">
13+
<meta content="805184859580207" property="fb:app_id">
14+
<meta content="地図を使って最寄りの CoderDojo を探してみよう。" name="description">
15+
<meta content="地図を使って最寄りの CoderDojo を探してみよう。" property="og:description">
16+
<meta content="https://map.coderdojo.jp/images/ogp.png" property="og:image">
17+
<meta content="image/png" property="og:image:type">
18+
<meta content="CoderDojo Japan" property="og:site_name">
19+
<meta content="website" property="og:type">
20+
<meta content="summary_large_image" name="twitter:card">
21+
<meta content="@CoderDojoJapan" name="twitter:site">
22+
<meta content="@CoderDojoJapan" name="twitter:creator">
23+
<meta content="地図から探す (DojoMap) - CoderDojo Japan" name="twitter:title">
24+
<meta content="地図を使って最寄りの CoderDojo を探してみよう。" name="twitter:description">
25+
<meta content="https://map.coderdojo.jp/images/ogp.png" name="twitter:image">
26+
<meta content="https://map.coderdojo.jp/" name="twitter:url">
27+
28+
<!-- Icons for iOS, Android, and Windows -->
29+
<meta name="msapplication-TileColor" content="#ffffff">
30+
<meta name="msapplication-TileImage" content="/images/icons/ms-icon-144x144.png">
31+
<meta name="theme-color" content="#ffffff">
32+
<link href="/manifest.json" rel="manifest">
33+
<link href="/images/icons/safari-pinned-tab.svg" rel="mask-icon" color="#1373ce">
34+
<link href="/images/icons/apple-icon-57x57.png" rel="apple-touch-icon" sizes="57x57">
35+
<link href="/images/icons/apple-icon-60x60.png" rel="apple-touch-icon" sizes="60x60">
36+
<link href="/images/icons/apple-icon-72x72.png" rel="apple-touch-icon" sizes="72x72">
37+
<link href="/images/icons/apple-icon-76x76.png" rel="apple-touch-icon" sizes="76x76">
38+
<link href="/images/icons/apple-icon-114x114.png" rel="apple-touch-icon" sizes="114x114">
39+
<link href="/images/icons/apple-icon-120x120.png" rel="apple-touch-icon" sizes="120x120">
40+
<link href="/images/icons/apple-icon-144x144.png" rel="apple-touch-icon" sizes="144x144">
41+
<link href="/images/icons/apple-icon-152x152.png" rel="apple-touch-icon" sizes="152x152">
42+
<link href="/images/icons/apple-icon-180x180.png" rel="apple-touch-icon" sizes="180x180">
43+
<link href="/images/icons/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png">
44+
<link href="/images/icons/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png">
45+
<link href="/images/icons/favicon-96x96.png" rel="icon" sizes="96x96" type="image/png">
46+
<link href="/images/icons/android-icon-192x192.png" rel="icon" sizes="192x192" type="image/png">
47+
<style>
48+
body, html {
49+
width: 100%;
50+
height: 100%;
51+
margin: 0;
52+
padding: 0;
53+
}
54+
.geolonia {
55+
width: 100%;
56+
height: 100%;
57+
}
58+
</style>
59+
</head>
60+
<body>
61+
<div
62+
class="geolonia"
63+
data-geojson="./dojos.geojson"
64+
data-lat="35.6809591"
65+
data-lng="139.7673068"
66+
data-zoom="0"
67+
data-marker="off"
68+
data-custom-marker="#custom-marker"
69+
data-custom-marker-offset="0, 0"
70+
data-geolocate-control="on"
71+
data-cluster="off"
72+
data-cluster-color="rgba(46, 154, 217, 0.8)"
73+
></div>
74+
75+
<script
76+
type="text/javascript"
77+
{% if site.env.GEOLONIA_API_KEY %}
78+
src="https://cdn.geolonia.com/v1/embed?geolonia-api-key={{ site.env.GEOLONIA_API_KEY }}"
79+
{% else %}
80+
src="https://cdn.geolonia.com/v1/embed?geolonia-api-key=YOUR-API-KEY"
81+
{% endif %}
82+
></script>
83+
84+
{% if site.env.JEKYLL_ENV == 'production' %}
85+
<!-- Google tag (gtag.js) -->
86+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NFJ5PWV0G2"></script>
87+
<script>
88+
window.dataLayer = window.dataLayer || [];
89+
function gtag(){dataLayer.push(arguments);}
90+
gtag('js', new Date());
91+
92+
gtag('config', 'G-NFJ5PWV0G2');
93+
</script>
94+
{% endif %}
95+
</body>
96+
</html>

0 commit comments

Comments
 (0)