-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
377 lines (365 loc) · 19.6 KB
/
Copy pathindex.html
File metadata and controls
377 lines (365 loc) · 19.6 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>汪欣晨的个人主页</title>
<!-- 引入 Bootstrap 核心样式 -->
<!-- <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet"> -->
<!-- Bootstrap CSS CDN -->
<!-- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> -->
<link href="../../assets/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome CDN -->
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="./assets/css/index.css" type="text/css">
</head>
<body>
<!-- Header -->
<header>
<!-- 导航栏 -->
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top shadow-sm">
<div class="container">
<a class="navbar-brand d-flex align-items-center" href="#">
<img src="./assets/images/logo.png" alt="个人logo" height="35" class="me-2">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link px-3 active" href="index.html">
<i class="fas fa-home fa-sm me-1"></i> 首页
</a>
</li>
<li class="nav-item">
<a class="nav-link px-3" href="./projects/projects.html">
<i class="fas fa-project-diagram fa-sm me-1"></i> 项目
</a>
</li>
<li class="nav-item">
<a class="nav-link px-3" href="./tech_learn/qa/qa.html">
<i class="fas fa-code fa-sm me-1"></i> 技能
</a>
</li>
<li class="nav-item">
<a class="nav-link px-3" href="./tools/tools.html">
<i class="fas fa-tools me-1"></i> 工具
</a>
</li>
<li class="nav-item">
<a class="nav-link px-3" href="./civil_exam/index.html">
<i class="fas fa-graduation-cap fa-sm me-1"></i> 公考
</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main class="container">
<!-- Profile Section -->
<section id="profile" class="profile-section">
<div class="profile">
<div class="profile-image" id="profileImage">
<img src="./assets/images/profile.jpg">
</div>
<div class="profile-content">
<h2 class="profile-title">Hello 我是汪欣晨</h2>
<h3 class="profile-subtitle">一个没什么追求但喜欢探索的人</h3>
<p class="profile-description">
<!-- 蓑笠不惊云起落 卧看江月去还来 烟雨平生竹杖客 松风煮雪即吾乡 -->
回首向来萧瑟处,归去,也无风雨也无晴。
</p>
<div class="profile-buttons">
<!-- <a href="#" class="btn btn-primary">Download CV</a> -->
<a href="#social" class="btn btn-outline">联系我</a>
</div>
</div>
<script>
document.getElementById('profileImage').addEventListener('click', function () {
document.querySelector('.profile-description').innerHTML = '他常会向往能回到那年他一十二 只需要好好上学生活单纯没忧愁';
});
</script>
</div>
</section>
<!-- Experience Section -->
<!-- <section id="experience" class="experience-section">
<h2 class="section-title">个人经历</h2>
<div class="experience-grid">
<div class="job-content">
<h3 class="job-title">本科</h3>
<p class="job-company">南通大学</p>
<p class="job-description">
2021.9 - 2022.6:计算机科学与技术
</p>
</div>
<div class="divider"></div>
<div class="job-content">
<h3 class="job-title">硕士</h3>
<p class="job-company">西南财经大学</p>
<p class="job-description">
2023.9 - 2025.6:计算机科学与技术 [图像相关方向]
</p>
</div>
</div>
</section> -->
<!-- Skills Section -->
<section id="skills" class="skills-section">
<h2 class="section-title">技能展示</h2>
<div class="skills-grid">
<div class="skill-card">
<h3 class="skill-title">前端开发</h3>
<p class="skill-description">HTML, CSS, JavaScript, Bootstrap, Vue3, Vite</p>
<div class="skill-progress-bg">
<div class="skill-progress-bar" style="width: 80%"></div>
</div>
</div>
<div class="skill-card">
<h3 class="skill-title">后端开发</h3>
<p class="skill-description">Django, MySQL, MongoDB, Redis, REST APIs</p>
<div class="skill-progress-bg">
<div class="skill-progress-bar" style="width: 75%"></div>
</div>
</div>
<div class="skill-card">
<h3 class="skill-title">移动开发</h3>
<p class="skill-description">原生Android(Java), Responsive Design</p>
<div class="skill-progress-bg">
<div class="skill-progress-bar" style="width: 70%"></div>
</div>
</div>
<div class="skill-card">
<h3 class="skill-title">游戏开发</h3>
<p class="skill-description">Unity, C#</p>
<div class="skill-progress-bg">
<div class="skill-progress-bar" style="width: 45%"></div>
</div>
</div>
<div class="skill-card">
<h3 class="skill-title">嵌入式开发/数字电路设计</h3>
<p class="skill-description">STM32, C, C#; Xilinx, Verilog</p>
<div class="skill-progress-bg">
<div class="skill-progress-bar" style="width: 25%"></div>
</div>
</div>
<div class="skill-card">
<h3 class="skill-title">其他</h3>
<p class="skill-description">Pytorch, Matlab, Git, Linux ...</p>
<div class="skill-progress-bg">
<div class="skill-progress-bar" style="width: 80%"></div>
</div>
</div>
</div>
</section>
<!-- Blog Section -->
<section id="blogs" class="blogs-section">
<h2 class="section-title">博客文章</h2>
<div class="blogs-grid" id="blogs-container">
<!-- Blog posts will be loaded here dynamically -->
</div>
<div class="project-links" style="margin-top: 20px" ;>
<a href="./tech_learn/fragment/fragment.html" class="project-link">
阅读更多 <i class="fas fa-external-link-alt"></i>
</a>
</div>
</section>
<!-- Include Marked.js for markdown parsing -->
<script src="https://g.alicdn.com/code/lib/marked/15.0.4/marked.min.js"></script>
<!-- Modal for displaying markdown content -->
<div class="modal fade" id="markdownModal" tabindex="-1" aria-labelledby="markdownModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="markdownModalLabel"></h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="markdownContent">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">关闭</button>
</div>
</div>
</div>
</div>
<script>
// Load blog posts dynamically
fetch('./tech_learn/fragment/fragposts.json')
.then(response => response.json())
.then(data => {
const container = document.getElementById('blogs-container');
// Show only the first two posts
const postsToShow = data.slice(0, 2);
postsToShow.forEach(post => {
const blogCard = document.createElement('div');
blogCard.className = 'blog-card';
blogCard.innerHTML = `
<h3 class="blog-title">${post.title}</h3>
<p class="blog-meta">${post.date} by ${post.author}</p>
<p class="blog-description">${post.content}</p>
`;
// Add click event to load and display markdown content
blogCard.addEventListener('click', function() {
if (post.link) {
// Adjust the path to be relative to the root directory
const adjustedPath = post.link.replace('./frag/', './tech_learn/fragment/frag/');
fetch(adjustedPath)
.then(response => response.text())
.then(markdownContent => {
document.getElementById('markdownModalLabel').textContent = post.title;
document.getElementById('markdownContent').innerHTML = marked.parse(markdownContent);
// Show the modal
var modal = new bootstrap.Modal(document.getElementById('markdownModal'));
modal.show();
})
.catch(error => {
console.error('Error loading markdown file:', error);
alert('无法加载Markdown文件');
});
}
});
container.appendChild(blogCard);
});
})
.catch(error => {
console.error('Error loading blog posts:', error);
});
</script>
<!-- Reading Section -->
<section id="reads" class="reads-section">
<h2 class="section-title">阅读分享</h2>
<div class="reads-grid">
<div class="book-card">
<div class="book-image">
<img src="./assets/images/cover1.bmp" alt="Book cover">
</div>
<div class="book-content">
<h3 class="book-title">2024上半年科研泛读</h3>
<p class="book-author">-</p>
<p class="book-description">涉及的知识领域包括基础理论、卷积核、损失函数、注意力机制、扩散模型、可逆神经网络、多任务学习、频率网络、光流、上采样、元学习等。
</p>
<a href="./reading/extensive_reading_fis.html" class="book-link">
去看看 <i class="fas fa-external-link-alt"></i>
</a>
</div>
</div>
</div>
</section>
<!-- Projects Section -->
<section id="projects" class="projects-section" style="padding-bottom: 20px;">
<h2 class="section-title">项目工作</h2>
<div class="projects-grid">
<div class="project-card">
<div class="project-image">
<img src="./assets/images/fis.jpg" alt="Project screenshot">
</div>
<div class="project-content">
<h3 class="project-title">Frequency-Guided Iterative Network for Image Steganography</h3>
<p class="project-description">
迭代循环的图像隐写网络架构, 集成先进的频率引导模块与轻量级注意力机制。
</p>
<div class="project-tags">
<span class="project-tag">Deep Learning</span>
<span class="project-tag">Pytorch</span>
<span class="project-tag">Image Steganography</span>
</div>
<div class="project-links">
<!-- <a href="#" class="project-link">
View Demo <i class="fas fa-external-link-alt"></i>
</a> -->
<a href="https://github.com/xinch3nwang/FIS" class="project-link">
Github <i class="fab fa-github"></i>
</a>
</div>
</div>
</div>
<div class="project-card">
<div class="project-image">
<img src="./assets/images/campus.jpg" alt="Project screenshot">
</div>
<div class="project-content">
<h3 class="project-title">校园生活助手(Android客户端+Python服务端)</h3>
<p class="project-description">
Android移动端+Django后端的校园生活助手APP, 实现日程提醒、校园社区、实时信息等功能。
</p>
<div class="project-tags">
<span class="project-tag">Django</span>
<span class="project-tag">Android</span>
<span class="project-tag">MySQL+SQLite+Redis</span>
</div>
<div class="project-links">
<!-- <a href="#" class="project-link">
View Demo <i class="fas fa-external-link-alt"></i>
</a> -->
<a href="#" class="project-link">
Github <i class="fab fa-github"></i>
</a>
</div>
</div>
</div>
</div>
<div class="project-links" style="margin-top: 20px" ;>
<a href="./projects/projects.html" class="project-link">
发现更多 <i class="fas fa-external-link-alt"></i>
</a>
</div>
</section>
</main>
<!-- Footer with Social Links -->
<footer>
<div class="container">
<div class="footer-content">
<div class="footer-info" id="footerInfo">
<h2 class="footer-name">Xinchen Wang</h2>
<p class="footer-title">Just a man...</p>
</div>
<script>
var clickCount = 0;
document.getElementById('footerInfo').addEventListener('click', function() {
clickCount++;
if(clickCount === 1) {
document.querySelector('.footer-name').textContent += ' 🦋';
}
else if(clickCount === 2) {
document.querySelector('.footer-title').innerHTML = '當這世界已經準備將我遺棄<br>像一個傷兵被留在孤獨荒野里<br>開始懷疑我存在有沒有意義<br>在別人眼裡我似乎變成了隱形<br>難道失敗就永遠翻不了身<br>誰來輓救墮落的靈魂';
}
else if(clickCount === 3) {
document.querySelector('.footer-title').innerHTML = '生命充滿亂七八糟的問題<br>像走在沒有出口的那個迷宮里';
}
else if(clickCount === 4) {
document.querySelector('.footer-title').innerHTML = '他常會嚮往能回到那年他12<br>只需要好好上學生活單純沒憂愁<br>他就像一朵蓓蕾滿懷希望';
}
else if(clickCount === 5) {
document.querySelector('.footer-title').innerHTML = '人生偶爾會走上一條陌路<br>就像是沒有指標的地圖';
}
else if(clickCount === 6) {
document.querySelector('.footer-title').innerHTML = '他笑著想過未來<br>他應該得到幸福 多麼的簡單的夢<br>有沒有實現';
}
});
</script>
<div class="footer-social" id="social">
<h3 class="social-title">社交链接 Social-Links</h3>
<div class="social-links">
<a href="https://github.com/xinch3nwang" class="social-link" aria-label="GitHub">
<i class="fab fa-github"></i>
</a>
<a href="mailto:xinchen0709@foxmail.com" class="social-link" aria-label="Email">
<i class="fas fa-envelope"></i>
</a>
</div>
</div>
</div>
<div class="footer-bottom">
<p>©
<script>document.write(new Date().getFullYear())</script> 汪欣晨. All rights reserved.
</p>
</div>
</div>
</footer>
<!-- 引入 Bootstrap 核心脚本 -->
<script src="../../assets/js/bootstrap.bundle.min.js" defer></script>
</body>
</html>