-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
120 lines (118 loc) · 6.24 KB
/
Copy pathabout.html
File metadata and controls
120 lines (118 loc) · 6.24 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
<!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"/>
<link href="/site.css?v=2563a04a3cea" rel="stylesheet"/>
<script defer="" src="/site.js?v=0d8e0332d3cf"></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>