-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.html
47 lines (47 loc) · 2.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="robots" content="noindex" />
<meta name="description" content="Choose and drag metro stations from different cities and connect them with 135 degree rounded corner lines" />
<base href="./" />
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="stylesheet" href="/styles/fonts.css" />
<link rel="manifest" href="/manifest.json" />
<title>Rail Map Painter</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root">
<p style="position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);margin: 0;font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;">
Initializing Rail Map Painter core...
</p>
<p style="position: absolute;top: 75%;left: 50%;transform: translate(-50%, -50%);margin: 0;font-size: small;font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;color: gray;">
Seeing this page for too long? Try another mirror
<a href="https://railmapgen.github.io/?app=rmp" target="_blank" rel="noreferrer">GitHub</a>
<a href="https://railmapgen.gitlab.io/?app=rmp" target="_blank" rel="noreferrer">Gitlab</a>
or the
<a href="https://github.com/railmapgen/railmapgen.github.io/releases" target="_blank" rel="noreferrer">offline applications</a>
.
</br>
</br>
Offline applications also available via ghp.ci
<a id="win">Windows</a>
<a id="mac">MacOS</a>
<a id="linux">Linux</a>
if you are blocked by GFW :)
</p>
</div>
<script>
const d = new Date();const tag=`${d.getFullYear()}${String(d.getMonth()+1).padStart(2, '0')}01`;const ver=`${String(d.getFullYear()).slice(-2)}.${d.getMonth()+1}.1`;
document.getElementById('win').href=`https://ghp.ci/https://github.com/railmapgen/railmapgen.github.io/releases/download/tauri-${tag}/railmapgen_${ver}_x64-setup.exe`;
document.getElementById('mac').href=`https://ghp.ci/https://github.com/railmapgen/railmapgen.github.io/releases/download/tauri-${tag}/railmapgen_${ver}_aarch64.dmg`;
document.getElementById('linux').href=`https://ghp.ci/https://github.com/railmapgen/railmapgen.github.io/releases/download/tauri-${tag}/railmapgen_${ver}_amd64.deb`;
</script>
<script type="module" src="src/index.tsx"></script>
</body>
</html>