Skip to content

Commit 54304ad

Browse files
committed
docs: add zh-cn home page
1 parent 7e1e6fd commit 54304ad

File tree

6 files changed

+400
-21
lines changed

6 files changed

+400
-21
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
$(".md-header .md-select").hide();
3+
$(document).ready(function () {
4+
// 查找是否存在 .hero-image
5+
if ($(".hero-image").length == 0) {
6+
$(".md-header .md-select").hide();
7+
} else {
8+
$(".md-header .md-select").show();
9+
}
10+
});

source/docs/zh-cn/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
template: home-zh-cn.html
3+
title: Home
4+
---

source/mkdocs.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ theme:
1919
logo: img/logo.png
2020
features:
2121
# - navigation.expand
22-
- navigation.instant # now behaves like a Single Page Application
22+
# - navigation.instant # now behaves like a Single Page Application
2323
- navigation.top # Back-to-top button
2424
- navigation.indexes # documents can be directly attached to sections, which is particularly useful for providing overview pages: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#with-section-index-pages
2525
- header.autohide
@@ -61,6 +61,7 @@ extra_javascript:
6161
- _extra/js/mathjax.js
6262
- _extra/js/tablesort.js
6363
- _extra/js/click-image.js
64+
- _extra/js/hide-something.js
6465
- https://polyfill.io/v3/polyfill.min.js?features=es6
6566
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
6667
- https://unpkg.com/tablesort@5.3.0/dist/tablesort.min.js
@@ -73,6 +74,19 @@ extra:
7374
- icon: fontawesome/brands/github
7475
link: https://github.com/1Remote/
7576

77+
alternate:
78+
# Switch to English
79+
- name: English
80+
#link: https://leverage.binbash.com.ar
81+
link: /
82+
lang: en
83+
84+
# Switch to Spanish
85+
- name: 简体中文
86+
#link: https://leverage.binbash.com.ar/es/
87+
link: /zh-cn
88+
lang: zh-cn
89+
7690
analytics:
7791
provider: google
7892
property: G-3WQM1ZE8WM

source/overrides/home-zh-cn.html

Lines changed: 343 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,343 @@
1+
{% extends "main-styles.html" %}
2+
3+
{% block tabs %}
4+
{{ super() }}
5+
6+
<section class="main-container ">
7+
<div class="md-grid md-typeset">
8+
<div class="hero">
9+
10+
<!-- Hero image -->
11+
<div class="hero-image">
12+
<img
13+
src="/img/home_override/hero1.png"
14+
alt=""
15+
width="800"
16+
draggable="false"
17+
>
18+
</div>
19+
20+
<!-- Hero content -->
21+
<div class="hero-content">
22+
<h1>1Remote</h1>
23+
<p>
24+
1Remote是一款现代化的个人远程会话管理员和启动器,使用它你可以管理从一个入口管理多种远程会话。
25+
<br>
26+
<br>
27+
</p>
28+
29+
<br>
30+
31+
<p>
32+
33+
34+
<strong>
35+
开源且免费
36+
</strong>
37+
<br>
38+
39+
40+
<strong>
41+
支持 RDP, SSH, VNC, Telnet, (S)FTP,
42+
<a href="https://github.com/1Remote/1Remote/wiki/%5BProtocol%5D-RemoteApp">RemoteApp</a>
43+
等多种协议
44+
</strong>
45+
<br>
46+
47+
48+
<strong>
49+
多屏幕、高分辨率的 RDP 支持
50+
</strong>
51+
<br>
52+
53+
54+
<strong>
55+
一键打开你的远程连接 (Alt + M)
56+
</strong>
57+
<br>
58+
59+
60+
<strong>
61+
单个服务器配置中允许存储多个地址和账号
62+
</strong>
63+
<br>
64+
<!--
65+
66+
<strong>
67+
Detailed configuration: tags, icons, colors, connection scripts etc...
68+
</strong>
69+
<br> -->
70+
71+
72+
<strong>
73+
基于选项卡的远程桌面界面、多语言、可自定义颜色主题
74+
</strong>
75+
<br>
76+
77+
<!-- ⭐
78+
<strong>
79+
Customizable SFTP \ FTP \ VNC protocols, you can replace the internal runner with your favorite tools.
80+
</strong>
81+
<br> -->
82+
83+
84+
<strong>
85+
易于部署,仅需解压就能运行
86+
</strong>
87+
<br>
88+
89+
90+
<a
91+
href="{{ page.next_page.url | url }}"
92+
title="{{ page.next_page.title | e }}"
93+
class="md-button md-button"
94+
>
95+
Get started
96+
</a>
97+
<br>
98+
99+
</div>
100+
</div>
101+
</div>
102+
</section>
103+
104+
105+
<!-- image left -->
106+
<section class="container">
107+
<div class="md-grid md-typeset">
108+
<div class="container-image-left" style="margin-top: 50px">
109+
<img src="/img/home_override/hero2.gif" width="300px" draggable="false"
110+
align="left"
111+
>
112+
</div>
113+
<div class="hero">
114+
<div class="container-content-right">
115+
<h1>干活更轻松</h1>
116+
<p>1Remote 简化了远程会话管理,你可以在一个入口管理多种远程会话。</p>
117+
<p>使用启动器 (Alt + M) 和选项卡界面,你可以轻松地在会话之间切换。</p>
118+
<br>
119+
<p>📌 快捷启动器,不耽误一秒</p>
120+
<p>📌 Tab 界面,优雅舒适</p>
121+
<p>📌 密码加密存,安全更放心</p>
122+
<p>📌 要想多设备同步,还可数据库存共享盘</p>
123+
<p style="max-width: 40em;">📌 多语言支持: English, 简体中文, Deutsch, Français, čeština,
124+
Portuguese, 日本語, 正體中文...等等等等
125+
<a href="usage/misc/help-translation/#currrent-contributors">感谢我们的翻译者🎉</a><i style="opacity: 0.5;">(尤其是谷歌翻译😀)</i></p>
126+
</div>
127+
</div>
128+
</div>
129+
</section>
130+
131+
132+
133+
134+
<!-- image right -->
135+
<section class="container">
136+
<div class="md-grid md-typeset">
137+
<div class="hero">
138+
<div class="container-image-right" style="margin-top: 50px;">
139+
<img src="/img/home_override/protocols.png" width="500px" draggable="false" align="right">
140+
</div>
141+
<div class="container-content-left">
142+
<h1>访问多种服务器的终极解决方案</h1>
143+
<p>
144+
一个软件,搞定全部:
145+
<br/>
146+
<i style="margin-left: 2rem;">✅ RDP</i>
147+
<br/>
148+
<i style="margin-left: 2rem;">✅ SSH</i>
149+
<br/>
150+
<i style="margin-left: 2rem;">✅ FTP / SFTP</i>
151+
<br/>
152+
<i style="margin-left: 2rem;">✅ VNC</i>
153+
<br/>
154+
<i style="margin-left: 2rem;">✅ RemoteApp <a href="/usage/protocol/especial/remoteapp/">learn more</a></i>
155+
<br/>
156+
<i style="margin-left: 2rem;">✅ Other cli tools <a href="/usage/protocol/especial/app/">learn more</a></i>
157+
</p>
158+
</div>
159+
</div>
160+
</div>
161+
</section>
162+
163+
164+
165+
166+
167+
<!-- image left -->
168+
<section class="container">
169+
<div class="md-grid md-typeset">
170+
<div class="container-image-left" style="margin-top: 50px;">
171+
<img src="https://raw.githubusercontent.com/1Remote/PRemoteM/Doc/DocPic/multi-screen.jpg" width="500px" draggable="false" align="right">
172+
</div>
173+
<div class="hero">
174+
<div class="container-content-right">
175+
<h1>当RDP<br/>遇到了多4k显示器...</h1>
176+
<br>
177+
<p>
178+
<b>1Remote</b> 是目前唯一一个能够在多4k显示器环境下流畅运行RDP的第三方工具。
179+
拥有多显示器、拥抱生产力!
180+
</p>
181+
<p style="width: 30rem;
182+
border-radius: 10px;
183+
background: #80808059;
184+
padding: 0 1rem;">
185+
<b>开发者说:</b> 我写这软件最初的理由就是其他第三方工具都不能支持同时用我家的两个4k显示器+一个1080p显示器,全屏 RDP 到服务器上。
186+
</p>
187+
</div>
188+
</div>
189+
</div>
190+
</section>
191+
192+
193+
194+
195+
<!-- image right -->
196+
<section class="container">
197+
<div class="md-grid md-typeset">
198+
<div class="hero">
199+
<div class="container-image-right" style="margin-top: 50px;">
200+
<img src="/img/home_override/cli-integrate.jpg" width="500px" draggable="false" align="right">
201+
</div>
202+
<div class="container-content-left">
203+
<h1>甚至可以不改变你原有的习惯</h1>
204+
<br>
205+
<p style="max-width: 30rem;">
206+
不喜欢内置的 FTP 客户端?没关系,你甚至可以改变 1Remote 的客户端!
207+
</p>
208+
<p style="max-width: 30rem;">
209+
在 1Remote 中你可以轻松集成你原有的 CLI 工具,比如 WinSCP 和 TightVNC,无需改变你的工作流!
210+
</p>
211+
<a href="usage/protocol/runner"
212+
target="_blank"
213+
class="md-button md-button">
214+
Learn more About CLI tools integrate
215+
</a>
216+
</div>
217+
</div>
218+
</div>
219+
</section>
220+
221+
222+
223+
224+
225+
<!-- image left -->
226+
<section class="container">
227+
<div class="md-grid md-typeset">
228+
<div class="container-image-left" style="margin-top: 50px;">
229+
<img src="/usage/img/multi-credential-demo.png" width="500px" draggable="false" align="left">
230+
</div>
231+
<div class="hero">
232+
<div class="container-content-right">
233+
<h1>简化服务器的地址与账号管理</h1>
234+
<br>
235+
<p>✨ 多地址切换:内网用 LAN,速度快!外网用 WAN,连的通!两种地址的切换居然还是自动的!</p>
236+
237+
<p>✨ 多账号切换:一个服务器可配置多套账号密码,再也不用小本本抄写root密码了!</p>
238+
239+
<p>✨ 自动化脚本:这个脚本可以帮你在远程前自动打开VPN耶!</p>
240+
<br>
241+
<a href="usage/alternative-credential/"
242+
target="_blank"
243+
class="md-button md-button">
244+
Learn more 多账号
245+
</a>
246+
<a href="usage/misc/pre-post-script-control/overview"
247+
target="_blank"
248+
class="md-button md-button">
249+
Learn more 自动化脚本
250+
</a>
251+
</div>
252+
</div>
253+
</div>
254+
</section>
255+
256+
257+
258+
259+
260+
261+
<!-- image right -->
262+
<section class="container">
263+
<div class="md-grid md-typeset">
264+
<div class="hero">
265+
<div class="container-image-right" style="margin-top: 50px;">
266+
<img src="/img/home_override/team_sharing_network.png" width="500" draggable="false" align="right">
267+
</div>
268+
<div class="container-content-left">
269+
<h1>账号团队内部享,不用微信传密码</h1>
270+
<p style="max-width: 30rem;">
271+
<i>🚀 自建一个 MySQL 你就能把服务器给团队里其他人用啦</i>
272+
<br/>
273+
<i>🚀 还是 MySQL 1个人可写,其他人只读,安全。团队小兵兵甚至都看不到密码</i>
274+
<br/>
275+
<i>🚀 当然你也可以用网盘分享主数据库 SQLite,不过不推荐哦</i>
276+
<br/>
277+
</p>
278+
<a href="usage/team/team-sharing/"
279+
target="_blank"
280+
class="md-button md-button">
281+
Learn more
282+
</a>
283+
</div>
284+
</div>
285+
</div>
286+
</section>
287+
288+
289+
290+
291+
292+
<!-- image left -->
293+
<section class="container">
294+
<div class="md-grid md-typeset">
295+
<div class="container-image-left" style="margin-top: 50px;">
296+
<img src="/img/home_override/ratings.jpg" draggable="false" align="left">
297+
</div>
298+
<div class="hero">
299+
<div class="container-content-right">
300+
<h1>大家用了都说好</h1>
301+
<br>
302+
<p>目前<a href="https://www.microsoft.com/store/productId/9PNMNF92JNFP" target="_blank">Microsoft Store</a>上已经有超过 10,000 的用户使用过 1Remote,并且获得了 90% 的好评。</p>
303+
304+
<img src="/img/home_override/reviews.jpg" draggable="false" align="left">
305+
306+
</div>
307+
</div>
308+
</div>
309+
</section>
310+
311+
<section style="display: flex;justify-content: center;align-items: center;">
312+
<div class="md-grid md-typeset">
313+
<a
314+
href="{{ page.next_page.url | url }}"
315+
title="{{ page.next_page.title | e }}"
316+
class="md-button md-button"
317+
>
318+
Get started
319+
</a>
320+
</div>
321+
</section>
322+
323+
324+
325+
{% endblock %}
326+
327+
328+
329+
{% block content %}{% endblock content %}
330+
{% block footer %}
331+
{{ super() }}
332+
{% endblock footer %}
333+
334+
335+
<script>
336+
var _hmt = _hmt || [];
337+
(function() {
338+
var hm = document.createElement("script");
339+
hm.src = "https://hm.baidu.com/hm.js?915b78fdd0e2f52a5f6f6816de6cb939";
340+
var s = document.getElementsByTagName("script")[0];
341+
s.parentNode.insertBefore(hm, s);
342+
})();
343+
</script>

0 commit comments

Comments
 (0)