Skip to content

Commit 07d6ed0

Browse files
committed
add pages
1 parent 0326cfa commit 07d6ed0

29 files changed

+7525
-9409
lines changed

.eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"globals": {
1010
"Atomics": "readonly",
1111
"SharedArrayBuffer": "readonly",
12-
"$": "readonly"
12+
"$": "readonly",
13+
"$i": "readonly"
1314
},
1415
"parser": "@typescript-eslint/parser",
1516
"parserOptions": {

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
.cache
33
dist
4+
*.log

assets/linux.png

7.66 KB
Loading

assets/mac.png

5.47 KB
Loading
14.6 KB
Loading

assets/windows.png

3.11 KB
Loading

i.html

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head><head>
4+
<meta charset="UTF-8">
5+
<meta name="description" content="PureLauncher 我的世界启动器">
6+
<meta name="keywords" content="PureLauncher,purelauncher,Launcher,启动器,我的世界启动器,我的世界,Minecraft,MC">
7+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
8+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
9+
<meta name="renderer" content="webkit">
10+
<meta http-equiv="Cache-Control" content="no-siteapp" />
11+
<meta name="theme-color" content="#181818">
12+
<title data-t="installTitle">PureLauncher | Resources Install</title>
13+
<!-- <link rel="icon" type="image/png" href="favicon.png"> -->
14+
<meta name="mobile-web-app-capable" content="yes">
15+
<!-- <link rel="icon" sizes="192x192" href="favicon.png"> -->
16+
<meta name="apple-mobile-web-app-capable" content="yes">
17+
<meta name="apple-mobile-web-app-status-bar-style" content="#181818">
18+
<meta name="apple-mobile-web-app-title" content="Unknown Domain">
19+
<!-- <link rel="apple-touch-icon-precomposed" href="favicon.png"> -->
20+
<!-- <meta name="msapplication-TileImage" content="favicon.png"> -->
21+
<meta name="msapplication-TileColor" content="#181818">
22+
<link type="text/css" rel="styleSheet" href="src/main.css" />
23+
<link type="text/css" rel="styleSheet" href="src/install.css" />
24+
</head>
25+
</head>
26+
<body>
27+
<main>
28+
<div class="loading">
29+
<div class='squares'><div></div><div></div><div></div><div></div></div>
30+
<p data-t="loading" id="text"></p>
31+
</div>
32+
</main>
33+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/npo.src.min.js"></script>
34+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/fetch.umd.min.js"></script>
35+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
36+
<script src="src/i18n.ts"></script>
37+
<script src="src/install.ts"></script>
38+
</body>
39+
</html>

index.html

+13-10
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,22 @@
2121
<meta name="msapplication-TileColor" content="#181818">
2222
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/blueprint.min.css" />
2323
<link type="text/css" rel="styleSheet" href="src/main.css" />
24-
<link type="text/css" rel="styleSheet" href="src/minecraft.less" />
2524
<link type="text/css" rel="styleSheet" href="src/index.less" />
2625
</head>
2726
<body>
2827
<main>
28+
<a href="i.html" style="display:none"></a>
2929
<header>
30-
<img class="logo" src="assets/logo.png">
30+
<a href="/"><img alt="logo" class="logo" src="assets/logo.png"></a>
3131
</header>
3232
<section id="first" bp="grid vertical-center">
3333
<div class="container" bp="12 offset-2 4@md offset-2@md">
3434
<h1>PureLauncher</h1>
3535
<h3 data-t="headText"></h3>
3636
<div class="buttons">
37-
<a class="btn btn-primary" data-t="download"></a><a class="btn btn-secondary" data-t="allVersions"></a>
37+
<button id="download-now" role="button" class="btn btn-primary" data-t="download"></button><a role="button" class="btn btn-secondary" href="release.html" data-t="allVersions"></a>
3838
</div>
39+
<p id="release-type"></p>
3940
</div>
4041
<div bp="6@md 10 offset-2" class="img"><img class="screenshot" src="assets/screenshots/home.png"></div>
4142
</section>
@@ -51,7 +52,7 @@ <h1 data-t="resourcesSystem"></h1>
5152
<li data-t="resourcesSystem4"></li>
5253
<li data-t="resourcesSystem5"></li>
5354
</ul>
54-
<a class="btn btn-primary" data-t="openVersionsList" href="./versions.html"></a>
55+
<a role="button" class="btn btn-primary" data-t="openVersionsList" href="./versions.html"></a>
5556
</div>
5657
</section>
5758
<section bp="grid vertical-center">
@@ -76,7 +77,7 @@ <h1 data-t="pluginSystem"></h1>
7677
<li data-t="pluginSystem4"></li>
7778
<li data-t="pluginSystem5"></li>
7879
</ul>
79-
<a class="btn btn-primary" data-t="openPluginsList"></a>
80+
<a role="button" class="btn btn-primary" data-t="openPluginsList" href="plugins.html"></a>
8081
</div>
8182
</section>
8283
<section class="and-more">
@@ -103,7 +104,7 @@ <h1 data-t="openSource"></h1>
103104
<a href="https://codebeat.co/projects/github-com-apisium-purelauncher-master" target="_blank"><img alt="CodeBeat" src="https://codebeat.co/badges/2afd1913-119b-4b47-acb8-dbac54259a4e"></a>
104105
<a href="https://standardjs.com" target="_blank"><img alt="JavaScript Style Guide" src="https://img.shields.io/badge/code_style-standard-brightgreen.svg"></a>
105106
<p data-t="openSourceLink"></p>
106-
<a class="btn btn-primary" href="https://github.com/Apisium/PureLauncher" target="_blank">Github</a>
107+
<a role="button" class="btn btn-primary" href="https://github.com/Apisium/PureLauncher" target="_blank">Github</a>
107108
<p data-t="hopeHelp"></p>
108109
</div>
109110
</section>
@@ -112,10 +113,10 @@ <h1 data-t="openSource"></h1>
112113
<div>
113114
<h1 data-t="contact"></h1>
114115
<ul>
115-
<li><a role="link" href="https://github.com/Apisium/PureLauncher/issues">Github Issues</a></li>
116-
<li><span data-t="qqGroup"></span>: <a role="link" href="https://jq.qq.com/?_wv=1027&k=59nPcrl">7923302</a></li>
117-
<li><span data-t="telegramGroup"></span>: <a role="link" href="https://t.me/PureLauncher">@PureLauncher</a></li>
118-
<li><span>MCBBS</span>: <a role="link" href="https://t.me/PureLauncher" data-t="clickToEnter"></a></li>
116+
<li><a href="https://github.com/Apisium/PureLauncher/issues">Github Issues</a></li>
117+
<li><span data-t="qqGroup"></span>: <a href="https://jq.qq.com/?_wv=1027&k=59nPcrl">7923302</a></li>
118+
<li><span data-t="telegramGroup"></span>: <a href="https://t.me/PureLauncher">@PureLauncher</a></li>
119+
<li><span>MCBBS</span>: <a href="https://t.me/PureLauncher" data-t="clickToEnter"></a></li>
119120
</ul>
120121
</div>
121122
</section>
@@ -130,7 +131,9 @@ <h1 data-t="contact"></h1>
130131
<span class="copy">Copyright &copy; 2020 Apisium All rights reserved.</span>
131132
</footer>
132133
</main>
134+
<script src="https://cdn.jsdelivr.net/npm/ua-parser-js@0/dist/ua-parser.min.js"></script>
133135
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
134136
<script src="src/i18n.ts"></script>
137+
<script src="src/index.ts"></script>
135138
</body>
136139
</html>

langs/en-us.json

+24-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"indexTitle": "PureLauncher | Home",
55
"headText": "An awesome Minecraft launcher.",
66
"download": "DOWNLOAD",
7+
"notSupport": "The current system does not support PureLauncher!",
78
"allVersions": "ALL VERSIONS",
89

910
"resourcesSystem": "Convenient Resource System",
@@ -48,5 +49,27 @@
4849
"clickToEnter": "Click to enter",
4950

5051

51-
"versionsTitle": "PureLauncher | Versions Download"
52+
"versionsTitle": "PureLauncher | Versions Download",
53+
"releaseVersion": "Release",
54+
"snapshotVersion": "Snapshot",
55+
"oldVersion": "Old",
56+
"releaseTime": "Release Time",
57+
"versionsTopText": "Please click the version id to install. If you need to install additional API (Such as Forge and Fabric)\nPlease click the button on the right next to the version id.",
58+
59+
60+
"installTitle": "PureLauncher | Resources Install",
61+
"loading": "Loading...",
62+
"installSuccess": "Success! Please check the launcher!",
63+
"installFailed": "Failed! Please make sure you have installed PureLauncher!",
64+
65+
66+
"releaseTitle": "PureLauncher | Downloads",
67+
"32": "x86",
68+
"64": "x64",
69+
70+
71+
"pluginsTitle": "PureLauncher | Plugins",
72+
"multiInstances": "MultiInstances",
73+
"multiInstancesDesc": "This plugin allows you to run multiple game instances.",
74+
"install": "INSTALL"
5275
}

langs/zh-cn.json

+24-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"indexTitle": "PureLauncher | 主页",
55
"download": "立即下载",
66
"allVersions": "查看所有版本",
7+
"notSupport": "当前系统不支持运行 PureLauncher",
78
"headText": "一款简约而不简单的 Minecraft 启动器.",
89

910
"resourcesSystem": "便捷的资源系统",
@@ -48,5 +49,27 @@
4849
"clickToEnter": "点击进入",
4950

5051

51-
"versionsTitle": "PureLauncher | 版本下载"
52+
"versionsTitle": "PureLauncher | 版本下载",
53+
"releaseVersion": "稳定版",
54+
"snapshotVersion": "快照版",
55+
"oldVersion": "远古版",
56+
"releaseTime": "发布时间",
57+
"versionsTopText": "安装某个版本请直接点击版本号即可, 若需安装额外的API (如 Forge 和 Fabric)\n请点击版本号旁类似右侧的按钮",
58+
59+
60+
"installTitle": "PureLauncher | 资源安装",
61+
"loading": "加载中...",
62+
"installSuccess": "操作成功! 请查看启动器!",
63+
"installFailed": "操作失败! 请确保已经安装 PureLauncher!",
64+
65+
66+
"releaseTitle": "PureLauncher | 下载",
67+
"32": "32位",
68+
"64": "64位",
69+
70+
71+
"pluginsTitle": "PureLauncher | 插件列表",
72+
"multiInstances": "游戏多开",
73+
"multiInstancesDesc": "这个插件可以让你同时开启多个游戏实例",
74+
"install": "立即安装"
5275
}

0 commit comments

Comments
 (0)