gallyg commited on
Commit
c9356d3
·
verified ·
1 Parent(s): 632b0a7

Upload index.html

Browse files
Files changed (1) hide show
  1. index.html +52 -0
index.html ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="zh">
3
+ <head>
4
+ <meta charset="utf-8"/>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1"/>
6
+ <title>HF Devbox</title>
7
+ <style>
8
+ :root{--bg:#0b1220;--card:#111a2e;--text:#e5e7eb;--muted:#94a3b8;}
9
+ body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto;
10
+ background:radial-gradient(1200px 800px at 20% 10%, #1d2a52 0%, var(--bg) 50%);
11
+ color:var(--text);}
12
+ .wrap{max-width:980px;margin:0 auto;padding:32px;}
13
+ .title{font-size:28px;font-weight:800;margin:6px 0;}
14
+ .sub{color:var(--muted);margin:0 0 22px;line-height:1.6}
15
+ .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;}
16
+ .card{background:rgba(17,26,46,.85);border:1px solid rgba(148,163,184,.15);
17
+ border-radius:16px;padding:18px;}
18
+ a.btn{display:inline-block;margin-top:8px;padding:10px 14px;border-radius:12px;
19
+ text-decoration:none;color:#fff;font-weight:700;background:#2563eb;}
20
+ code{background:rgba(148,163,184,.12);padding:2px 8px;border-radius:8px;color:#e2e8f0}
21
+ </style>
22
+ </head>
23
+ <body>
24
+ <div class="wrap">
25
+ <div class="title">HF Devbox</div>
26
+ <p class="sub">
27
+ 一个端口聚合:VS Code / JupyterLab / Web Terminal。
28
+ 临时文件建议放 <code>/home/user/work</code> 或 <code>/home/user/tmp</code>(重启可能丢)。
29
+ </p>
30
+ <div class="grid">
31
+ <div class="card">
32
+ <h3>VS Code(code-server)</h3>
33
+ <p class="sub">浏览器写代码、上传文件、运行任务</p>
34
+ /进入 VS Code</a>
35
+ </div>
36
+ <div class="card">
37
+ <h3>JupyterLab</h3>
38
+ <p class="sub">Notebook + 终端 + 文件管理</p>
39
+ /jupyter/进入 JupyterLab</a>
40
+ </div>
41
+ <div class="card">
42
+ <h3>Web Terminal</h3>
43
+ <p class="sub">ttyd 终端(适合快速命令)</p>
44
+ /terminal/进入 Terminal</a>
45
+ </div>
46
+ </div>
47
+ <p class="sub" style="margin-top:18px">
48
+ 提示:本空间使用 Nginx BasicAuth 统一鉴权(只输入一次账号密码),code-server/Jupyter 已关闭二次认证。
49
+ </p>
50
+ </div>
51
+ </body>
52
+ </html>