-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (40 loc) · 1.59 KB
/
Copy pathindex.html
File metadata and controls
40 lines (40 loc) · 1.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FIFA World Cup Hosts (1930–2026)</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="">
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
<script src="https://cdn.jsdelivr.net/gh/periplum/periplum-core@v0.3.4/dist/periplum.js" integrity="sha384-8VbzNqGez//sGxFfaGNwxViCSNxylx9LPaTRCro0/+GyBsrjFwduCbRfHT/87CI+" crossorigin="anonymous"></script>
</head>
<body>
<script>
Periplum.render({
title: "FIFA World Cup Hosts · 1930–2026",
dataUrl: "data.json",
repo: "https://github.com/periplum/worldcup-soccer",
favicon: "favicon.png",
theme: { headerBg: "#1d6f42", accent: "#f4c430" },
routeLabel: "Tournament hops",
statusColors: {
"Europe": "#1f77b4",
"South America": "#2ca02c",
"North America": "#ff7f0e",
"Asia": "#d62728",
"Africa": "#9467bd"
},
seo: {
description: "Every men's FIFA World Cup final, 1930–2026, mapped at its host city and coloured by host continent — press play to watch the tournament hop around the globe. Built with Periplum."
},
basemaps: [
{ id: "earth", name: "🌍 Earth", type: "tiles",
tileUrl: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
attribution: "© OpenStreetMap contributors",
minZoom: 2, initialView: [20, 0], initialZoom: 2 }
]
});
</script>
</body>
</html>