-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
432 lines (378 loc) · 14.8 KB
/
index.html
File metadata and controls
432 lines (378 loc) · 14.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verdant Path INC - 运营隐私设施与赞助隐私软件</title>
<style>
/* --- 基础样式重置 --- */
:root {
--primary-color: #4CAF50;
--primary-dark: #388E3C;
--text-light: #E0E0E0;
--text-muted: #AAAAAA;
--bg-dark: #121212;
--bg-card: #1E1E1E;
--bg-overlay: rgba(0, 0, 0, 0.8);
--border-radius: 8px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
background-color: var(--bg-dark);
color: var(--text-light);
line-height: 1.6;
overflow-x: hidden;
}
a {
color: var(--primary-color);
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: var(--primary-dark);
}
/* --- 导航栏 --- */
header {
padding: 1rem 5%;
background: rgba(18, 18, 18, 0.95);
backdrop-filter: blur(10px);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 1.5rem;
font-weight: 700;
color: #FFFFFF;
}
.logo span {
color: var(--primary-color);
}
.nav-links {
display: flex;
gap: 2rem;
}
.nav-links a {
color: var(--text-light);
font-weight: 500;
font-size: 0.95rem;
}
/* --- 通用容器 --- */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
/* --- 英雄区域 --- */
.hero {
height: 100vh;
display: flex;
align-items: center;
text-align: center;
padding-top: 4rem;
background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}
.hero-content h1 {
font-size: 3rem;
margin-bottom: 1rem;
background: linear-gradient(to right, #FFFFFF, var(--primary-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-content p {
font-size: 1.2rem;
color: var(--text-muted);
max-width: 700px;
margin: 0 auto 2rem;
}
.btn {
padding: 0.8rem 2rem;
background-color: var(--primary-color);
color: white;
border-radius: var(--border-radius);
font-weight: 600;
display: inline-block;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}
.btn:hover {
background-color: var(--primary-dark);
transform: translateY(-2px);
}
/* --- 通用内容区域样式 --- */
section {
padding: 5rem 0;
}
.section-title {
text-align: center;
margin-bottom: 3rem;
}
.section-title h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.section-title p {
color: var(--text-muted);
max-width: 600px;
margin: 0 auto;
}
/* --- 业务介绍 --- */
.features {
background-color: #191919;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.feature-card {
background-color: var(--bg-card);
padding: 2rem;
border-radius: var(--border-radius);
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
border-left: 4px solid var(--primary-color);
transition: transform 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
}
.feature-card h3 {
color: #FFFFFF;
margin-bottom: 1rem;
font-size: 1.3rem;
}
/* --- 模态框样式 --- */
.modal {
display: none;
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: var(--bg-overlay);
}
.modal-content {
background-color: var(--bg-card);
margin: 15% auto;
padding: 2rem;
border-radius: var(--border-radius);
width: 80%;
max-width: 500px;
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
text-align: center;
border: 1px solid #333;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
line-height: 1;
}
.close:hover,
.close:focus {
color: #fff;
text-decoration: none;
cursor: pointer;
}
.group-link {
word-break: break-all;
margin: 1rem 0;
color: var(--primary-color);
font-family: monospace;
}
/* --- 页脚 --- */
footer {
text-align: center;
padding: 2rem;
background-color: #000000;
border-top: 1px solid rgba(255,255,255,0.1);
color: var(--text-muted);
font-size: 0.9rem;
}
/* --- 语言切换 --- */
.lang-switch {
margin-left: 1rem;
font-size: 0.8rem;
cursor: pointer;
color: var(--text-muted);
}
.lang-switch.active {
color: var(--primary-color);
font-weight: bold;
}
/* 隐藏类用于多语言 */
.en { display: none; }
</style>
</head>
<body>
<!-- 导航栏 -->
<header>
<div class="nav-container">
<div class="logo">Verdant <span>Path</span> INC</div>
<nav>
<ul class="nav-links">
<li><a href="#home" class="nav-link">首页 <span class="en">Home</span></a></li>
<li><a href="#services" class="nav-link">业务 <span class="en">Services</span></a></li>
<li><a href="#about" class="nav-link">关于我们 <span class="en">About</span></a></li>
<li><a href="#contact" class="nav-link">联系 <span class="en">Contact</span></a></li>
</ul>
</nav>
<div>
<span class="lang-switch" onclick="setLang('zh')">中文</span> | <span class="lang-switch" onclick="setLang('en')">EN</span>
</div>
</div>
</header>
<!-- 英雄区域 -->
<section id="home" class="hero">
<div class="container hero-content">
<h1>构建私密的数字未来</h1>
<p class="zh">Verdant Path INC 致力于运营高安全性的隐私设施,并资助推动隐私技术发展的开源软件项目。</p>
<p class="en" style="display:none;">Verdant Path INC is dedicated to operating high-security privacy infrastructure and funding open-source software projects that advance privacy technologies.</p>
<button onclick="openModal()" class="btn">加入群组 <span class="en">Join Group</span></button>
</div>
</section>
<!-- 业务介绍 -->
<section id="services" class="features">
<div class="container">
<div class="section-title">
<h2 class="zh">我们的业务</h2>
<h2 class="en" style="display:none;">Our Services</h2>
<p class="zh">专注于隐私基础设施建设与软件生态支持</p>
<p class="en" style="display:none;">Focus on privacy infrastructure construction and software ecosystem support</p>
</div>
<div class="feature-grid">
<div class="feature-card">
<h3 class="zh">运营隐私设施</h3>
<h3 class="en" style="display:none;">Privacy Infrastructure</h3>
<p class="zh">我们运营着高性能、抗审查的隐私网络基础设施。通过分布式节点和加密技术,确保用户的数据传输安全与匿名性。</p>
<p class="en" style="display:none;">We operate high-performance, censorship-resistant privacy network infrastructure. Through distributed nodes and encryption, we ensure secure and anonymous data transmission.</p>
</div>
<div class="feature-card">
<h3 class="zh">赞助隐私软件</h3>
<h3 class="en" style="display:none;">Sponsor Privacy Software</h3>
<p class="zh">我们积极寻找并资助优秀的开源隐私软件开发者。通过资金支持,帮助他们将保护隐私的工具推向市场。</p>
<p class="en" style="display:none;">We actively seek and fund优秀的 open-source privacy software developers. Through financial support, we help bring privacy tools to the market.</p>
</div>
</div>
</div>
</section>
<!-- 关于我们 -->
<section id="about" class="about">
<div class="container">
<div class="section-title">
<h2 class="zh">关于 Verdant Path</h2>
<h2 class="en" style="display:none;">About Verdant Path</h2>
<p class="zh">为什么选择我们?</p>
<p class="en" style="display:none;">Why choose us?</p>
</div>
<div class="about-content">
<div class="about-text">
<h3 class="zh">我们的使命</h3>
<h3 class="en" style="display:none;">Our Mission</h3>
<p class="zh">在数字世界中,隐私不应是奢侈品,而应是基本权利。</p>
<p class="en" style="display:none;">In the digital world, privacy should not be a luxury, but a fundamental right.</p>
<ul class="zh">
<li><strong>透明化:</strong> 我们的资助流向和运营原则公开透明。</li>
<li><strong>安全性:</strong> 采用行业领先的安全标准。</li>
<li><strong>社区化:</strong> 与全球开发者社区紧密合作。</li>
</ul>
<ul class="en" style="display:none;">
<li><strong>Transparency:</strong> Our funding flows and operational principles are open and transparent.</li>
<li><strong>Security:</strong> We adopt industry-leading security standards.</li>
<li><strong>Community:</strong> We work closely with the global developer community.</li>
</ul>
</div>
<div class="about-image">
<div style="height: 300px; background: linear-gradient(45deg, #1a1a1a, #2a2a2a); border-radius: var(--border-radius); display: flex; align-items: center; justify-content: center; color: var(--text-muted);">
[隐私保护概念图]
</div>
</div>
</div>
</div>
</section>
</div>
</section>
<!-- 页脚 -->
<footer>
<div class="container">
<p>© 2025 Verdant Path INC. 保留所有权利。</p>
</div>
</footer>
<!-- --- 模态框 (群组链接) --- -->
<div id="groupModal" class="modal">
<div class="modal-content">
<span class="close" onclick="closeModal()">×</span>
<h3>社群链接</h3>
<p>请点击下方链接加入我们的群组:</p>
<!-- ⚠️ 请在下方修改为您真实的群组链接 -->
<div class="group-link">https://signal.group/#CjQKICHLQ_zPVY6Yi0CajcmLmbObPlQyet77jdB23OE2SWGdEhD_5bq7E2XzwJKxQaGswes2</div>
<button onclick="copyLink()" style="margin-top: 1rem;" class="btn">复制链接</button>
</div>
</div>
<script>
// 获取模态框元素
var modal = document.getElementById("groupModal");
// 打开模态框
function openModal() {
modal.style.display = "block";
}
// 关闭模态框
function closeModal() {
modal.style.display = "none";
}
// 点击模态框外部关闭
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
// 复制链接功能
function copyLink() {
// ⚠️ 请修改这里的链接为您真实的链接
const link = 'https://signal.group/#CjQKICHLQ_zPVY6Yi0CajcmLmbObPlQyet77jdB23OE2SWGdEhD_5bq7E2XzwJKxQaGswes2';
navigator.clipboard.writeText(link).then(() => {
alert('链接已复制到剪贴板!');
});
}
// --- 多语言切换逻辑 ---
function setLang(lang) {
// 移除所有元素的显示
document.querySelectorAll('.zh').forEach(el => { el.style.display = 'none'; });
document.querySelectorAll('.en').forEach(el => { el.style.display = 'none'; });
// 根据选择显示对应语言
if (lang === 'zh') {
document.querySelectorAll('.zh').forEach(el => { el.style.display = 'block'; });
} else {
document.querySelectorAll('.en').forEach(el => { el.style.display = 'inline'; }); // 对于内联元素使用 inline
// 特殊处理段落等块级元素
document.querySelectorAll('p.en, h1.en, h2.en, h3.en, li.en, ul.en').forEach(el => { el.style.display = 'block'; });
}
// 保存语言设置到本地存储
localStorage.setItem('preferredLang', lang);
}
// 页面加载时检查本地存储的语言设置
window.onload = function() {
const savedLang = localStorage.getItem('preferredLang') || 'zh';
setLang(savedLang);
}
</script>
</body>
</html>