Files
dpl/content/hn/tutorials/index.html
T

50 lines
5.7 KiB
HTML

<div class="hn-start-guide">
<style>
.doc-body .hn-start-guide { --start-muted:var(--text-muted,#a5adb5); --start-border:var(--border-color,#394047); --start-accent:var(--theme-color,#a3cc4b); display:flex; flex-direction:column; gap:14px; max-width:900px; margin:0 auto; font-size:16px; font-weight:400; line-height:1.75; letter-spacing:normal; word-spacing:normal; color:var(--text-color); }
.doc-body .hn-start-guide > * { flex:none; margin:0; }
.doc-body .hn-start-guide p { margin:0; line-height:inherit; }
.doc-body .hn-start-guide p:empty { display:none; }
.doc-body .hn-start-guide h2 { margin:18px 0 0; padding:0; border:0; font-size:21px; line-height:1.45; font-weight:600; }
.doc-body .hn-start-guide .start-intro { font-size:17px; }
.doc-body .hn-start-guide .start-muted { font-size:14px; color:var(--start-muted); }
.doc-body .hn-start-guide strong { font-weight:600; }
.doc-body .hn-start-guide .device-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:28px; row-gap:0; margin:0; padding:0; }
.doc-body .hn-start-guide .device-link { display:flex; align-items:center; justify-content:space-between; gap:16px; min-width:0; padding:15px 4px; margin:0; border-bottom:1px solid var(--start-border); color:var(--text-color); text-decoration:none; cursor:pointer; }
.doc-body .hn-start-guide .device-copy { display:flex; flex-direction:column; gap:3px; min-width:0; }
.doc-body .hn-start-guide .device-copy strong { font-size:17px; line-height:1.5; }
.doc-body .hn-start-guide .device-copy small { display:block; color:var(--start-muted); font-size:13px; line-height:1.6; }
.doc-body .hn-start-guide .device-arrow { flex:none; color:var(--start-accent); font-size:20px; }
.doc-body .hn-start-guide .device-link:hover { color:var(--start-accent); background:rgba(127,127,127,.045); }
.doc-body .hn-start-guide a:focus-visible { outline:2px solid var(--start-accent); outline-offset:4px; border-radius:3px; }
.doc-body .hn-start-guide .start-steps { display:flex; flex-direction:column; gap:10px; list-style:none; padding:0; margin:0; }
.doc-body .hn-start-guide .start-steps > li { display:flex; align-items:baseline; gap:12px; position:static; padding:0; margin:0; list-style:none; line-height:1.75; }
.doc-body .hn-start-guide .step-number { flex:none; width:24px; color:var(--start-accent); font-size:13px; font-weight:600; }
.doc-body .hn-start-guide .start-help { display:flex; flex-direction:column; gap:10px; margin-top:10px; padding-top:22px; border-top:1px solid var(--start-border); }
.doc-body .hn-start-guide .start-help h2 { margin:0; font-size:18px; }
@media(max-width:600px) { .doc-body .hn-start-guide { font-size:15px; gap:12px; } .doc-body .hn-start-guide .device-links { grid-template-columns:1fr; } .doc-body .hn-start-guide h2 { font-size:20px; margin-top:16px; } }
</style>
<p class="start-intro">使用 hardnerd 需要先安装客户端并导入订阅。根据你使用的设备,查看下方对应的图文教程。</p>
<p class="start-muted">开始前,请先登录网站,在「仪表盘」确认套餐未到期、流量未用完。</p>
<h2>根据你的设备查看教程</h2>
<nav class="device-links" aria-label="各设备使用教程">
<a class="device-link" href="/#/docs/3"><span class="device-copy"><strong>Windows</strong><small>Clash Verge Rev · Windows 10 / 11</small></span><span class="device-arrow" aria-hidden="true">→</span></a>
<a class="device-link" href="/#/docs/4"><span class="device-copy"><strong>Mac</strong><small>Clash Verge Rev · Apple 芯片 / Intel</small></span><span class="device-arrow" aria-hidden="true">→</span></a>
<a class="device-link" href="/#/docs/5"><span class="device-copy"><strong>Android</strong><small>FlClash · 安卓手机 / 平板</small></span><span class="device-arrow" aria-hidden="true">→</span></a>
<a class="device-link" href="/#/docs/6"><span class="device-copy"><strong>iPhone / iPad</strong><small>Hiddify · iOS / iPadOS</small></span><span class="device-arrow" aria-hidden="true">→</span></a>
<a class="device-link" href="/#/docs/7"><span class="device-copy"><strong>Linux</strong><small>Clash Verge Rev · Linux 桌面</small></span><span class="device-arrow" aria-hidden="true">→</span></a>
<a class="device-link" href="/#/docs/8"><span class="device-copy"><strong>路由器</strong><small>OpenClash · 兼容的 OpenWrt 固件</small></span><span class="device-arrow" aria-hidden="true">→</span></a>
</nav>
<p class="start-muted">如需其他客户端或安装包版本,请前往<a href="/#/docs/2">所有客户端</a>查看。路由器配置较复杂,首次使用建议先在手机或电脑上连接。</p>
<h2>从安装到连接</h2>
<ol class="start-steps">
<li><span class="step-number" aria-hidden="true">01</span><span><strong>安装客户端</strong> — 按教程下载、安装并打开客户端。已安装对应客户端,可从导入订阅开始。</span></li>
<li><span class="step-number" aria-hidden="true">02</span><span><strong>导入订阅</strong> — 在「仪表盘」点击「导入订阅」,按教程将线路配置添加到客户端。</span></li>
<li><span class="step-number" aria-hidden="true">03</span><span><strong>开启连接</strong> — 按对应教程开启连接、选择线路,再用浏览器访问需要通过代理打开的网站。</span></li>
</ol>
<p class="start-muted">导入订阅后,还需要在客户端开启连接。请妥善保管订阅地址,不要公开或转发。</p>
<section class="start-help">
<h2>遇到问题时</h2>
<p class="start-muted">可先查看对应教程末尾的「遇到问题」部分。若仍无法使用,请通过「仪表盘 → 工单支持」提交工单,说明设备型号、客户端名称及具体问题,并附上报错截图。提交前请遮住截图中的订阅地址。</p>
</section>
</div>