-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
343 lines (322 loc) · 12.4 KB
/
Copy pathabout.html
File metadata and controls
343 lines (322 loc) · 12.4 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<meta content="最黑的夜 往往离黎明最近 最痛的此刻 常常是命运转弯的开始" name="description"/>
<meta content="#111310" name="theme-color"/>
<meta content="黄浩翔 · 自我刻度" property="og:title"/>
<meta content="最黑的夜 往往离黎明最近 最痛的此刻 常常是命运转弯的开始" property="og:description"/>
<meta content="profile" property="og:type"/>
<title>黄浩翔 · 自我刻度</title>
<link href="uploads/favicon-32.png" rel="icon" sizes="32x32" type="image/png"/>
<link href="uploads/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180"/>
<style>
* { margin:0; padding:0; box-sizing:border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
background-color: #1a1a1e;
color: #e5e5e7;
line-height: 1.47059;
font-weight: 400;
letter-spacing: -0.022em;
padding: 0;
margin: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
position: relative;
background-attachment: fixed;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
transition: background-image 0.5s ease-in-out;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(2px);
z-index: -1;
pointer-events: none;
}
.apple-blog {
max-width: 800px;
width: 100%;
padding: 40px 24px 60px;
position: relative;
z-index: 1;
}
.back-link {
display: inline-flex;
align-items: center;
gap: 8px;
margin-bottom: 30px;
color: rgba(255,255,255,0.8);
text-decoration: none;
font-size: 17px;
background: rgba(60,60,70,0.3);
backdrop-filter: blur(10px);
padding: 8px 18px;
border-radius: 40px;
border: 0.5px solid rgba(255,255,255,0.1);
transition: background-color 0.2s;
}
.back-link:hover { background: rgba(80,80,90,0.4); }
.about-nav {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 30px;
}
.about-nav .back-link {
margin-bottom: 0;
}
.language-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 40px;
color: rgba(255,255,255,0.86);
background: rgba(60,60,70,0.3);
border: 0.5px solid rgba(255,255,255,0.1);
border-radius: 8px;
padding: 8px 14px;
font: inherit;
cursor: pointer;
backdrop-filter: blur(10px);
transition: background-color 0.2s, border-color 0.2s;
}
.language-toggle:hover {
background: rgba(80,80,90,0.4);
border-color: rgba(255,255,255,0.18);
}
.profile-card {
background: rgba(40,40,45,0.4);
backdrop-filter: blur(16px);
border-radius: 36px;
padding: 40px;
border: 0.5px solid rgba(255,255,255,0.1);
box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.profile-header {
display: flex;
gap: 30px;
align-items: center;
margin-bottom: 30px;
}
.avatar-container {
width: 200px;
height: 250px;
background: #3a3a3c;
border: 2px solid rgba(255,255,255,0.2);
border-radius: 8px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.avatar {
width: 100%;
height: 100%;
object-fit: cover;
background: #2c2c2e;
}
.avatar-placeholder {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 40px;
color: #8e8e93;
background: #3a3a3c;
}
.name-title {
flex: 1;
display: flex;
align-items: baseline;
gap: 20px;
flex-wrap: wrap;
}
.name {
font-size: 48px;
font-weight: 600;
line-height: 1.2;
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.title {
font-size: 24px;
font-weight: 400;
opacity: 0.9;
line-height: 1.2;
}
.divider {
margin: 20px 0 30px;
border: none;
height: 1px;
background: rgba(255,255,255,0.2);
}
.section {
margin-top: 30px;
}
.section h2 {
font-size: 24px;
font-weight: 600;
color: #ffffff;
margin-bottom: 16px;
}
.bio {
font-size: 18px;
line-height: 1.6;
color: rgba(255,255,255,0.9);
}
.author-list {
display: grid;
gap: 10px;
list-style: none;
color: rgba(255,255,255,0.9);
font-size: 16px;
line-height: 1.55;
}
.author-list a {
color: rgba(216,231,255,0.95);
overflow-wrap: anywhere;
text-decoration-thickness: 1px;
text-underline-offset: 4px;
}
.skills {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.skill {
background: rgba(255,255,255,0.1);
backdrop-filter: blur(4px);
border: 0.5px solid rgba(255,255,255,0.2);
padding: 8px 18px;
border-radius: 40px;
font-size: 16px;
color: white;
}
@media (max-width: 600px) {
.about-nav { align-items: stretch; flex-direction: column; }
.language-toggle { width: fit-content; }
.profile-header { flex-direction: column; text-align: center; }
.avatar-container { width: 150px; height: 200px; }
.name-title { justify-content: center; }
.name { font-size: 36px; }
.title { font-size: 20px; }
}
</style>
<link href="/site.css?v=cad5c2c286e3" rel="stylesheet"/>
<script defer="" src="/site.js?v=fca98374ae34"></script>
</head>
<body class="about-page">
<a class="skip-link" href="#main-content">跳到主要内容</a>
<main class="apple-blog" id="main-content" tabindex="-1">
<nav aria-label="关于页导航" class="about-nav">
<a class="back-link" data-i18n="back" href="index.html">← 返回主页</a>
<button class="language-toggle" data-language-toggle="" type="button">EN</button>
</nav>
<div class="profile-card">
<div class="profile-header">
<div class="avatar-container">
<img alt="头像" class="avatar" id="profile-avatar" src="" style="display: none;"/>
<div aria-hidden="true" class="avatar-placeholder" id="avatar-placeholder" style="display: flex;">HX</div>
</div>
<div class="name-title">
<h1 class="name" id="profile-name" style="color: #d0cfd4;">黄浩翔</h1>
<span class="title" id="profile-title" style="color: #d0cfd4;">Alpha证券投资顾问股份有限公司 创投</span>
</div>
</div>
<hr class="divider"/>
<div class="section">
<h2 data-i18n="profile_title">个人简介</h2>
<div class="bio" id="profile-bio">最黑的夜 往往离黎明最近<br/>最痛的此刻 常常是命运转弯的开始</div>
</div>
<div class="section">
<h2 data-i18n="skills_title">技能</h2>
<div class="skills" id="profile-skills"><span class="skill">量化</span><span class="skill">私募</span><span class="skill">汇编</span><span class="skill">网络安全</span><span class="skill">VC</span><span class="skill">系统集成</span><span class="skill">项目管理</span><span class="skill">PA</span><span class="skill">SMC</span><span class="skill">ICT</span><span class="skill">均线</span><span class="skill">价格行为</span><span class="skill">缠论</span><span class="skill">Prompt Project</span><span class="skill">NLP</span><span class="skill">OpenWrt</span><span class="skill">OpenClaw</span><span class="skill">CodeX</span><span class="skill">Fintech</span><span class="skill">波浪理论</span><span class="skill">Macd</span><span class="skill">Web3</span><span class="skill">交易系统</span><span class="skill">CTF</span><span class="skill">MA</span><span class="skill">PE</span></div>
</div>
<div class="section">
<h2 data-i18n="project_title">项目简介</h2>
<p class="bio" data-i18n="project_text">这个站点承载 NextWeb4 的 GitHub Pages 个人博客、自我刻度记录、文章页面和作者介绍页。</p>
</div>
<div class="section">
<h2 data-i18n="author_title">作者信息</h2>
<ul class="author-list">
<li><span data-i18n="author_name_label">作者</span>:HaoXiang Huang</li>
<li><span data-i18n="author_email_label">邮箱</span>:<a href="mailto:didadida1688@gmail.com">didadida1688@gmail.com</a></li>
<li><span data-i18n="author_home_label">主页</span>:<a href="https://nextweb4.github.io/">https://nextweb4.github.io/</a></li>
<li>GitHub:<a href="https://github.com/NextWeb4">https://github.com/NextWeb4</a></li>
</ul>
</div>
</div>
</main>
<script>
(function() {
const dictionary = {
zh: {
back: '← 返回主页',
toggle: 'EN',
profile_title: '个人简介',
skills_title: '技能',
project_title: '项目简介',
project_text: '这个站点承载 NextWeb4 的 GitHub Pages 个人博客、自我刻度记录、文章页面和作者介绍页。',
author_title: '作者信息',
author_name_label: '作者',
author_email_label: '邮箱',
author_home_label: '主页'
},
en: {
back: '← Back Home',
toggle: '中文',
profile_title: 'Profile',
skills_title: 'Skills',
project_title: 'Project Introduction',
project_text: 'This site hosts the NextWeb4 GitHub Pages blog, self-measure journal, article pages, and author profile.',
author_title: 'Author',
author_name_label: 'Author',
author_email_label: 'Email',
author_home_label: 'Homepage'
}
};
const storageKey = 'nextweb4.about.language';
const toggle = document.querySelector('[data-language-toggle]');
function readLanguage() {
try {
const value = localStorage.getItem(storageKey);
return dictionary[value] ? value : 'zh';
} catch (error) {
return 'zh';
}
}
function applyLanguage(language) {
const current = dictionary[language] ? language : 'zh';
document.documentElement.lang = current === 'zh' ? 'zh-CN' : 'en';
document.querySelectorAll('[data-i18n]').forEach(element => {
const text = dictionary[current][element.dataset.i18n];
if (text) element.textContent = text;
});
if (toggle) toggle.textContent = dictionary[current].toggle;
try {
localStorage.setItem(storageKey, current);
} catch (error) {}
}
if (toggle) {
toggle.addEventListener('click', () => {
applyLanguage(readLanguage() === 'zh' ? 'en' : 'zh');
});
}
applyLanguage(readLanguage());
})();
</script>
</body>
</html>