YueHuLab commited on
Commit
800140c
·
verified ·
1 Parent(s): 0779c14

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +270 -19
index.html CHANGED
@@ -1,19 +1,270 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>人工智能大航海 - App 技术支持与问题反馈</title>
7
+ <style>
8
+ :root {
9
+ --primary-color: #3b82f6;
10
+ --secondary-color: #1e293b;
11
+ --bg-color: #f8fafc;
12
+ --card-bg: #ffffff;
13
+ --text-color: #334155;
14
+ --text-light: #64748b;
15
+ --border-color: #e2e8f0;
16
+ }
17
+
18
+ * {
19
+ box-sizing: border-box;
20
+ margin: 0;
21
+ padding: 0;
22
+ }
23
+
24
+ body {
25
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
26
+ background-color: var(--bg-color);
27
+ color: var(--text-color);
28
+ line-height: 1.6;
29
+ }
30
+
31
+ header {
32
+ background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
33
+ color: white;
34
+ padding: 3rem 1rem;
35
+ text-align: center;
36
+ position: relative;
37
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
38
+ }
39
+
40
+ .lang-switch {
41
+ position: absolute;
42
+ top: 1rem;
43
+ right: 1rem;
44
+ background: rgba(255, 255, 255, 0.15);
45
+ border: 1px solid rgba(255, 255, 255, 0.3);
46
+ color: white;
47
+ padding: 0.4rem 0.8rem;
48
+ border-radius: 20px;
49
+ cursor: pointer;
50
+ font-size: 0.85rem;
51
+ transition: all 0.3s;
52
+ }
53
+
54
+ .lang-switch:hover {
55
+ background: rgba(255, 255, 255, 0.3);
56
+ }
57
+
58
+ .container {
59
+ max-width: 800px;
60
+ margin: 2rem auto;
61
+ padding: 0 1rem;
62
+ }
63
+
64
+ .app-title-sub {
65
+ color: #93c5fd;
66
+ font-size: 1.1rem;
67
+ margin-top: 0.6rem;
68
+ font-weight: 300;
69
+ letter-spacing: 1px;
70
+ }
71
+
72
+ .section-card {
73
+ background: var(--card-bg);
74
+ border-radius: 12px;
75
+ padding: 2rem;
76
+ margin-bottom: 1.5rem;
77
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
78
+ border: 1px solid var(--border-color);
79
+ }
80
+
81
+ h2 {
82
+ color: var(--secondary-color);
83
+ font-size: 1.4rem;
84
+ margin-bottom: 1.2rem;
85
+ border-bottom: 2px solid var(--border-color);
86
+ padding-bottom: 0.5rem;
87
+ display: flex;
88
+ align-items: center;
89
+ gap: 0.5rem;
90
+ }
91
+
92
+ .contact-grid {
93
+ display: grid;
94
+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
95
+ gap: 1rem;
96
+ margin-top: 1rem;
97
+ }
98
+
99
+ .contact-item {
100
+ background: var(--bg-color);
101
+ padding: 1rem;
102
+ border-radius: 8px;
103
+ border: 1px solid var(--border-color);
104
+ }
105
+
106
+ .contact-item strong {
107
+ color: var(--secondary-color);
108
+ display: block;
109
+ margin-bottom: 0.25rem;
110
+ }
111
+
112
+ .contact-item a {
113
+ color: var(--primary-color);
114
+ text-decoration: none;
115
+ word-break: break-all;
116
+ font-weight: 500;
117
+ }
118
+
119
+ .contact-item a:hover {
120
+ text-decoration: underline;
121
+ }
122
+
123
+ .faq-item {
124
+ margin-bottom: 1.5rem;
125
+ }
126
+
127
+ .faq-item:last-child {
128
+ margin-bottom: 0;
129
+ }
130
+
131
+ .faq-q {
132
+ font-weight: 600;
133
+ color: var(--secondary-color);
134
+ margin-bottom: 0.5rem;
135
+ display: flex;
136
+ align-items: flex-start;
137
+ gap: 0.5rem;
138
+ font-size: 1.05rem;
139
+ }
140
+
141
+ .faq-a {
142
+ color: var(--text-light);
143
+ padding-left: 1.5rem;
144
+ }
145
+
146
+ footer {
147
+ text-align: center;
148
+ margin-top: 3rem;
149
+ padding: 2rem 0;
150
+ color: var(--text-light);
151
+ font-size: 0.9rem;
152
+ border-top: 1px solid var(--border-color);
153
+ }
154
+
155
+ /* 语言切换控制 */
156
+ .lang-en, .lang-zh {
157
+ display: none;
158
+ }
159
+
160
+ html[lang="zh-CN"] .lang-zh { display: block; }
161
+ html[lang="zh-CN"] .lang-zh-inline { display: inline; }
162
+ html[lang="zh-CN"] .lang-en-inline { display: none; }
163
+
164
+ html[lang="en"] .lang-en { display: block; }
165
+ html[lang="en"] .lang-en-inline { display: inline; }
166
+ html[lang="en"] .lang-zh-inline { display: none; }
167
+ </style>
168
+ </head>
169
+ <body>
170
+
171
+ <header>
172
+ <button class="lang-switch" onclick="toggleLanguage()">
173
+ <span class="lang-zh-inline">English</span>
174
+ <span class="lang-en-inline">中文</span>
175
+ </button>
176
+
177
+ <!-- 中文页头 -->
178
+ <div class="lang-zh">
179
+ <h1>人工智能大航海 / 全民学AI</h1>
180
+ <p class="app-title-sub">看得见的算法,玩得懂的人工智能</p>
181
+ </div>
182
+
183
+ <!-- 英文页头 -->
184
+ <div class="lang-en">
185
+ <h1>AI Odyssey / AI For Everyone</h1>
186
+ <p class="app-title-sub">Interactive AI Exploration Playground</p>
187
+ </div>
188
+ </header>
189
+
190
+ <div class="container">
191
+
192
+ <!-- 欢迎致辞 / Welcome -->
193
+ <div class="section-card">
194
+ <p class="lang-zh">欢迎来到人工智能的科普世界!我们致力于消除技术焦虑,通过<b>生动的互动实验、好玩的闯关游戏和大白话原理拆解</b>,让每一个普通人都能轻松玩懂 AI、跟上科技时代的发展步伐。</p>
195
+ <p class="lang-en">Welcome to the world of AI exploration! We are dedicated to eliminating tech anxiety. Through <b>interactive playgrounds, gamified challenges, and plain-language explanations</b>, we make AI accessible, fun, and easy to understand for everyone.</p>
196
+ </div>
197
+
198
+ <!-- 联系我们 / Contact Us -->
199
+ <div class="section-card">
200
+ <h2 class="lang-zh">🚀 交流与反馈</h2>
201
+ <h2 class="lang-en">🚀 Support & Feedback</h2>
202
+ <p class="lang-zh" style="color: var(--text-light);">如果您在探索过程中遇到任何程序漏洞 (Bug)、有任何好玩的脑洞建议,欢迎随时联系我们:</p>
203
+ <p class="lang-en" style="color: var(--text-light);">If you encounter any bugs, have feature requests, or want to share your creative ideas with us, feel free to reach out:</p>
204
+
205
+ <div class="contact-grid">
206
+ <div class="contact-item">
207
+ <strong class="lang-zh">📧 电子邮箱</strong>
208
+ <strong class="lang-en">📧 Email</strong>
209
+ <a href="mailto:710354687@qq.com">710354687@qq.com</a>
210
+ </div>
211
+ <div class="contact-item">
212
+ <strong class="lang-zh">🐛 问题反馈 (GitHub)</strong>
213
+ <strong class="lang-en">🐛 Issue Tracking</strong>
214
+ <span class="lang-zh"><a href="#" target="_blank">提交 Bug 或新功能点子</a></span>
215
+ <span class="lang-en"><a href="#" target="_blank">Report bugs on GitHub Issues</a></span>
216
+ </div>
217
+ </div>
218
+ </div>
219
+
220
+ <!-- 常见问题 / FAQ -->
221
+ <div class="section-card">
222
+ <h2 class="lang-zh">💡 常见问题 FAQ</h2>
223
+ <h2 class="lang-en">💡 FAQ</h2>
224
+
225
+ <!-- FAQ 1 -->
226
+ <div class="faq-item">
227
+ <div class="faq-q">
228
+ <span>⚡</span>
229
+ <span class="lang-zh">这款 App 适合零基础的人玩吗?</span>
230
+ <span class="lang-en">Is this App suitable for complete beginners?</span>
231
+ </div>
232
+ <div class="faq-a">
233
+ <p class="lang-zh">完全适合!这里没有复杂的数学公式,也没有枯燥的代码。你可以通过亲手“调节参数”、观察 AI 的“实时反应”来直观理解机器学习、大语言模型和计算机视觉背后的逻辑。</p>
234
+ <p class="lang-en">Absolutely! There are no complex formulas or boring code here. You can intuitively understand the logic behind machine learning, LLMs, and computer vision simply by adjusting parameters and watching the AI react in real-time.</p>
235
+ </div>
236
+ </div>
237
+
238
+ <!-- FAQ 2 -->
239
+ <div class="faq-item">
240
+ <div class="faq-q">
241
+ <span>🔒</span>
242
+ <span class="lang-zh">我的互动数据和隐私安全吗?</span>
243
+ <span class="lang-en">Is my data and privacy secure?</span>
244
+ </div>
245
+ <div class="faq-a">
246
+ <p class="lang-zh">绝对安全。我们高度重视您的隐私。您的所有实验记录、趣味笔记、闯关进度等数据均仅保存在您本地的手机设备中,App 无需注册账号,绝不会向任何云端服务器上传您的个人数据。</p>
247
+ <p class="lang-en">100% secure. We respect your privacy deeply. All your experiment logs, custom notes, and game progress remain strictly on your local device. No account registration is required, and no data is uploaded to any cloud server.</p>
248
+ </div>
249
+ </div>
250
+
251
+ </div>
252
+
253
+ </div>
254
+
255
+ <footer>
256
+ <p>&copy; 2026 AI Playground Support. Built for Everyone.</p>
257
+ </footer>
258
+
259
+ <script>
260
+ function toggleLanguage() {
261
+ const html = document.documentElement;
262
+ if (html.getAttribute('lang') === 'zh-CN') {
263
+ html.setAttribute('lang', 'en');
264
+ } else {
265
+ html.setAttribute('lang', 'zh-CN');
266
+ }
267
+ }
268
+ </script>
269
+ </body>
270
+ </html>