-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
371 lines (344 loc) · 18.8 KB
/
index.html
File metadata and controls
371 lines (344 loc) · 18.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
<!DOCTYPE html>
<html lang="en" dir="auto">
<head>
<meta name="generator" content="Hugo 0.109.0"><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="index, follow">
<title>Chen's Blog</title>
<meta name="description" content="">
<meta name="author" content="Chen">
<link rel="canonical" href="https://yccyangchen.github.io/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.css" rel="preload stylesheet" as="style">
<link rel="icon" href="https://yccyangchen.github.io/img/profile.jpg">
<link rel="icon" type="image/png" sizes="16x16" href="https://yccyangchen.github.io/img/profile.jpg">
<link rel="icon" type="image/png" sizes="32x32" href="https://yccyangchen.github.io/img/profile.jpg">
<link rel="apple-touch-icon" href="https://yccyangchen.github.io/img/profile.jpg">
<link rel="mask-icon" href="https://yccyangchen.github.io/img/profile.jpg">
<meta name="theme-color" content="#2e2e33">
<meta name="msapplication-TileColor" content="#2e2e33">
<link rel="alternate" type="application/rss+xml" href="https://yccyangchen.github.io/index.xml">
<link rel="alternate" type="application/json" href="https://yccyangchen.github.io/index.json">
<noscript>
<style>
#theme-toggle,
.top-link {
display: none;
}
</style>
<style>
@media (prefers-color-scheme: dark) {
:root {
--theme: rgb(29, 30, 32);
--entry: rgb(46, 46, 51);
--primary: rgb(218, 218, 219);
--secondary: rgb(155, 156, 157);
--tertiary: rgb(65, 66, 68);
--content: rgb(196, 196, 197);
--hljs-bg: rgb(46, 46, 51);
--code-bg: rgb(55, 56, 62);
--border: rgb(51, 51, 51);
}
.list {
background: var(--theme);
}
.list:not(.dark)::-webkit-scrollbar-track {
background: 0 0;
}
.list:not(.dark)::-webkit-scrollbar-thumb {
border-color: var(--theme);
}
}
</style>
</noscript>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
<script src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.3/dist/jquery.min.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<meta property="og:title" content="Chen's Blog" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://yccyangchen.github.io/" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Chen's Blog"/>
<meta name="twitter:description" content=""/>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Chen's Blog",
"url": "https://yccyangchen.github.io/",
"description": "",
"thumbnailUrl": "https://yccyangchen.github.io/img/profile.jpg",
"sameAs": [
"https://github.com/yccyangchen", "https://www.instagram.com/itssmeechen/", "mailto:yccyangchen7@gmail.com", "https://www.linkedin.com/in/chen-yang-876154230/"
]
}
</script>
</head>
<body class="list" id="top">
<script>
(function () {
let arr,reg = new RegExp("(^| )"+"change-themes"+"=([^;]*)(;|$)");
if(arr = document.cookie.match(reg)) {
} else {
if (new Date().getHours() >= 19 || new Date().getHours() < 6) {
document.body.classList.add('dark');
localStorage.setItem("pref-theme", 'dark');
} else {
document.body.classList.remove('dark');
localStorage.setItem("pref-theme", 'light');
}
}
})()
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
} else if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.classList.add('dark');
}
</script>
<header class="header">
<nav class="nav">
<div class="logo">
<a href="https://yccyangchen.github.io/" accesskey="h" title="Chen's Blog (Alt + H)">Chen's Blog</a>
<div class="logo-switches">
<button id="theme-toggle" accesskey="t" title="(Alt + T)">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
<svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
</button>
</div>
</div>
<ul id="menu">
<li>
<a href="https://yccyangchen.github.io/search" title="🔍 search (Alt + /)" accesskey=/>
<span>🔍 search</span>
</a>
</li>
<li>
<a href="https://yccyangchen.github.io/" title="🏠 home">
<span class="active">🏠 home</span>
</a>
</li>
<li>
<a href="https://yccyangchen.github.io/posts" title="📚 posts">
<span>📚 posts</span>
</a>
</li>
<li>
<a href="https://yccyangchen.github.io/tags" title="🧩 tags">
<span>🧩 tags</span>
</a>
</li>
<li>
<a href="https://yccyangchen.github.io/archives/" title="⏱️ timeline">
<span>⏱️ timeline</span>
</a>
</li>
<li>
<a href="https://yccyangchen.github.io/about" title="🙋♀️ about">
<span>🙋♀️ about</span>
</a>
</li>
<li>
<a href="https://yccyangchen.github.io/album" title="🖼️album">
<span>🖼️album</span>
</a>
</li>
<li>
<a href="https://yccyangchen.github.io/comment" title="💭comment">
<span>💭comment</span>
</a>
</li>
</ul>
</nav>
</header>
<main class="main"><div class="profile">
<div class="profile_inner">
<h1>Chen Yang</h1>
<span>Wish you were here</span><div class="social-icons">
<a href="https://github.com/yccyangchen" target="_blank" rel="noopener noreferrer me" title="Github">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path
d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22">
</path>
</svg>
</a>
<a href="https://www.instagram.com/itssmeechen/" target="_blank" rel="noopener noreferrer me" title="Instagram">
<svg t="1636858563426" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="37435" width="24" height="24"><path d="M229.518 1024h122.206l-192.828-123.586-158.5-92.618C7.318 928.18 107.432 1024 229.518 1024z" fill="#FDE494" p-id="37436"></path><path d="M670.896 953.38l-138.012-35.31H229.518c-68.144 0-123.586-55.442-123.586-123.586v-67.752l-52.966-56.84L0 679.256v115.226c0 4.472 0.144 8.908 0.396 13.314L351.724 1024h417.534l-98.362-70.62z" fill="#FEA150" p-id="37437"></path><path d="M883.31 880.28c-22.488 23.274-53.986 37.788-88.828 37.788H532.884L769.258 1024h25.224c82.404 0 154.792-43.658 195.28-109.054l-54.044-32.188-52.408-2.478z" fill="#FF5D4A" p-id="37438"></path><path d="M918.068 652.028v142.456c0 33.304-13.266 63.55-34.758 85.798l106.454 34.666C1011.456 879.908 1024 838.636 1024 794.482v-125.61l-54.792-30.782-51.14 13.938z" fill="#E45261" p-id="37439"></path><path d="M1024 298.38l-56.406-13.432-49.526 29.652v337.428L1024 668.872z" fill="#FF4D95" p-id="37440"></path><path d="M1024 229.518c0-115.266-85.416-210.946-196.272-227.1L688.86 60.202l-70.366 45.73h175.988c68.144 0 123.586 55.442 123.586 123.586V314.6L1024 298.38v-68.862z" fill="#CB319C" p-id="37441"></path><path d="M635.464 0L504.1 49.272l-103.61 56.66h218.004L827.728 2.416A230.44 230.44 0 0 0 794.482 0h-159.018z" fill="#8A3293" p-id="37442"></path><path d="M512 812.138c36.716 0 71.908-6.64 104.452-18.76l-172.04-78.094-182.356-37.314c53.836 80.81 145.77 134.168 249.944 134.168z" fill="#FF5D4A" p-id="37443"></path><path d="M658.306 610.716c-31.766 46.93-85.496 77.836-146.306 77.836-80.546 0-148.616-54.236-169.734-128.092l-47.364-29.602-81.694 9.076a298.268 298.268 0 0 0 48.85 138.034l354.396 115.41c76.606-28.528 138.474-87.514 170.916-162.136l-63.506-32.17-65.558 11.644z" fill="#E45261" p-id="37444"></path><path d="M335.448 512c0-43.756 16.036-83.814 42.494-114.692l-75.316-10.536-76.5 33.784A298.956 298.956 0 0 0 211.862 512c0 9.424 0.488 18.73 1.342 27.932l129.06 20.524A175.948 175.948 0 0 1 335.448 512zM812.138 512c0-64.276-20.318-123.892-54.856-172.78l-74.794-10.616-76.836 33.834c49.746 31.262 82.9 86.596 82.9 149.562 0 36.54-11.16 70.522-30.246 98.716l129.062 20.524A298.324 298.324 0 0 0 812.138 512z" fill="#FF4D95" p-id="37445"></path><path d="M512 335.448c34.388 0 66.484 9.918 93.652 26.99l151.63-23.218c-54.392-76.986-144.06-127.358-245.282-127.358-133.62 0-247.108 87.778-285.874 208.69l151.816-23.248c32.404-37.82 80.464-61.856 134.058-61.856zM794.482 300.138c38.94 0 70.62-31.68 70.62-70.62s-31.68-70.62-70.62-70.62c-38.94 0-70.62 31.68-70.62 70.62s31.68 70.62 70.62 70.62z" fill="#CB319C" p-id="37446"></path><path d="M105.932 627.128L54.94 601.694 0 592.632v86.626l105.932 47.474z" fill="#FF5D4A" p-id="37447"></path><path d="M0 506.028v86.604l105.932 34.496v-104.254l-55.04-19.788z" fill="#E45261" p-id="37448"></path><path d="M105.932 438.958l-54.434-0.492L0 455.18v50.848l105.932 16.846z" fill="#FF4D95" p-id="37449"></path><path d="M105.932 359.514l-56.11 5.692L0 411.924v43.256l105.932-16.222z" fill="#CB319C" p-id="37450"></path><path d="M0 411.924l105.932-52.41v-120.79L43.8 244.666 0 286.482z" fill="#8A3293" p-id="37451"></path><path d="M410.118 0L168.412 92.962 2.774 193.856A230.44 230.44 0 0 0 0 229.518v56.964l105.932-47.756v-9.21c0-68.144 55.442-123.586 123.586-123.586h170.974L635.464 0H410.118z" fill="#523494" p-id="37452"></path><path d="M229.518 0C115.09 0 19.956 84.176 2.774 193.856L410.118 0h-180.6z" fill="#2D2D87" p-id="37453"></path></svg>
</a>
<a href="mailto:yccyangchen7@gmail.com" target="_blank" rel="noopener noreferrer me" title="Email">
<svg t="1636858389384" class="icon" viewBox="0 0 1318 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="24657" width="24" height="24"><path d="M730.958199 603.743935a174.508039 174.508039 0 0 1-69.444022 14.068401 179.596609 179.596609 0 0 1-74.83192-16.163695L0 333.15171v571.117217a119.731073 119.731073 0 0 0 119.731073 119.731073h1079.375621a119.731073 119.731073 0 0 0 119.731073-119.731073V356.798597z" fill="#f2a355" p-id="24658"></path><path d="M636.66998 492.693365a59.865536 59.865536 0 0 0 47.892429 0l634.275358-266.401637V119.731073a119.731073 119.731073 0 0 0-119.731073-119.731073H119.731073a119.731073 119.731073 0 0 0-119.731073 119.731073v81.716457z" fill="#f2a355" p-id="24659"></path></svg>
</a>
<a href="https://www.linkedin.com/in/chen-yang-876154230/" target="_blank" rel="noopener noreferrer me" title="Linkedin">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path>
<rect x="2" y="9" width="4" height="12"></rect>
<circle cx="4" cy="4" r="2"></circle>
</svg>
</a>
</div>
<div class="buttons">
<a class="button" href="posts/blog" rel="noopener" title="🐰 About">
<span class="button-inner">
🐰 About
</span>
</a>
<a class="button" href="posts/tech" rel="noopener" title="🔥 Project">
<span class="button-inner">
🔥 Project
</span>
</a>
<a class="button" href="posts/read" rel="noopener" title="📕 Resume">
<span class="button-inner">
📕 Resume
</span>
</a>
<a class="button" href="posts/life" rel="noopener" title="✨ Life">
<span class="button-inner">
✨ Life
</span>
</a>
</div>
</div>
</div>
</main>
<footer class="footer">
<span>
Copyright
©
-2024
<a href="https://yccyangchen.github.io/" style="color:#939393;">Chen's Blog</a>
All Rights Reserved
</span>
<a href="https://beian.miit.gov.cn/" target="_blank" style="color:#939393;"></a>
<span>
<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=null"
style="display:inline-block;text-decoration:none;height:20px;color:#939393;">
<img src="" style="float:left;margin: 0px 5px 0px 0px;"/>
</a>
</span>
<span id="busuanzi_container">
<span class="fa fa-user"></span> <span id="busuanzi_value_site_uv"></span>
<span class="fa fa-eye"></span> <span id="busuanzi_value_site_pv"></span>
</span>
</footer>
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g">
<span class="topInner">
<svg class="topSvg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
<path d="M12 6H0l6-6z"/>
</svg>
<span id="read_progress"></span>
</span>
</a>
<script>
document.addEventListener('scroll', function (e) {
const readProgress = document.getElementById("read_progress");
const scrollHeight = document.documentElement.scrollHeight;
const clientHeight = document.documentElement.clientHeight;
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
readProgress.innerText = ((scrollTop / (scrollHeight - clientHeight)).toFixed(2) * 100).toFixed(0);
})
</script>
<script>
let menu = document.getElementById('menu')
if (menu) {
menu.scrollLeft = localStorage.getItem("menu-scroll-position");
menu.onscroll = function () {
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
}
}
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener("click", function (e) {
e.preventDefault();
var id = this.getAttribute("href").substr(1);
if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({
behavior: "smooth"
});
} else {
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView();
}
if (id === "top") {
history.replaceState(null, null, " ");
} else {
history.pushState(null, null, `#${id}`);
}
});
});
</script>
<script>
let mybutton = document.getElementById("top-link");
window.onscroll = function () {
if (document.body.scrollTop > 200 || document.documentElement.scrollTop > 200) {
mybutton.style.visibility = "visible";
mybutton.style.opacity = "1";
} else {
mybutton.style.visibility = "hidden";
mybutton.style.opacity = "0";
}
};
</script>
<script>
document.getElementById("theme-toggle").addEventListener("click", () => {
(function() {
document.cookie = "change-themes" + "="+ escape ("false");
})()
if (document.body.className.includes("dark")) {
document.body.classList.remove('dark');
localStorage.setItem("pref-theme", 'light');
} else {
document.body.classList.add('dark');
localStorage.setItem("pref-theme", 'dark');
}
});
</script>
<script>
document.body.addEventListener('copy', function (e) {
if (window.getSelection().toString() && window.getSelection().toString().length > 50) {
let clipboardData = e.clipboardData || window.clipboardData;
if (clipboardData) {
e.preventDefault();
let htmlData = window.getSelection().toString() +
'\r\n\n————————————————\r\n' +
'版权声明:本文为「'+"Chen's Blog"+'」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。' +
'\r\n原文链接:' + location.href;
let textData = window.getSelection().toString() +
'\r\n\n————————————————\r\n' +
'版权声明:本文为「'+"Chen's Blog"+'」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。' +
'\r\n原文链接:' + location.href;
clipboardData.setData('text/html', htmlData);
clipboardData.setData('text/plain', textData);
}
}
});
</script>
</body>
</html>