-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
424 lines (387 loc) · 19.7 KB
/
index.html
File metadata and controls
424 lines (387 loc) · 19.7 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>杨振·AI深度学习爱好者</title>
<!-- DNS预解析和预连接 - 优化外部资源加载 -->
<link rel="dns-prefetch" href="https://www.googletagmanager.com">
<link rel="preconnect" href="https://www.googletagmanager.com">
<!-- Google Analytics 4 (GA4) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SQ8LXQMB73"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-SQ8LXQMB73');
</script>
<!-- SEO优化:页面描述和关键词 -->
<meta name="description" content="杨振的个人主页,7年新媒体运营经验,专注于AI内容、数字化营销,分享视频作品、图片作品和原创文章。">
<meta name="keywords" content="杨振,新媒体运营,AI深度学习,数字化营销,内容创作,ISFJ,个人博客,作品展示">
<meta name="author" content="杨振">
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow">
<meta name="bingbot" content="index, follow">
<!-- 百度站长验证 -->
<meta name="baidu-site-verification" content="codeva-rOi39gvZqw" />
<link rel="canonical" href="https://950831.xyz/">
<!-- 语言和地区 -->
<meta http-equiv="content-language" content="zh-CN">
<meta name="geo.region" content="CN">
<!-- 移动端优化 -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="杨振">
<!-- 主题颜色 -->
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#1a1a1a" media="(prefers-color-scheme: dark)">
<!-- Favicon:网站图标,已优化为本地图片 -->
<link rel="icon" type="image/png" sizes="32x32" href="images/avatar.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/avatar.png">
<link rel="apple-touch-icon" href="images/avatar.png">
<!-- Open Graph:社交媒体分享优化(Facebook等) -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://950831.xyz/">
<meta property="og:title" content="杨振·AI深度学习爱好者">
<meta property="og:description" content="7年新媒体运营经验,专注于AI内容、数字化营销的内容创作者">
<meta property="og:image" content="https://950831.xyz/images/avatar.png">
<!-- Twitter Card:Twitter分享优化 -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://950831.xyz/">
<meta property="twitter:title" content="杨振·AI深度学习爱好者">
<meta property="twitter:description" content="7年新媒体运营经验,专注于AI内容、数字化营销的内容创作者">
<meta property="twitter:image" content="https://950831.xyz/images/avatar.png">
<!-- 预加载关键资源 - 优化LCP -->
<link rel="preload" href="style.css" as="style">
<link rel="preload" href="images/avatar.webp" as="image" type="image/webp">
<link rel="stylesheet" href="style.css">
<!-- Font Awesome图标库 - 异步加载非关键资源 -->
<link rel="preconnect" href="https://cdnjs.cloudflare.com" crossorigin>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet" media="print" onload="this.media='all'">
<noscript><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet"></noscript>
<!-- 结构化数据 (JSON-LD) - 帮助搜索引擎理解页面内容 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Person",
"name": "杨振",
"url": "https://950831.xyz/",
"image": "https://950831.xyz/images/avatar.png",
"jobTitle": "新媒体运营",
"description": "7年新媒体运营经验,专注于AI内容、数字化营销的内容创作者",
"sameAs": [
"https://b23.tv/yNjbBxm",
"https://www.xiaoyuzhoufm.com/podcast/68abb9f43c45b968dd74d9e0"
]
}
</script>
</head>
<body>
<!-- 深色模式切换按钮 -->
<button id="theme-toggle" class="theme-toggle" aria-label="切换深色模式">
<i class="fas fa-moon"></i>
</button>
<div class="container">
<!-- 个人信息区域 -->
<section class="hero-section">
<div class="profile-image">
<picture>
<source srcset="images/avatar.webp" type="image/webp">
<img src="images/avatar.png" alt="杨振头像" width="120" height="120" loading="lazy">
</picture>
</div>
<h1 class="name">杨振</h1>
<p class="subtitle">7年新媒体运营 · AI深度学习爱好者</p>
<p class="description">一个专注于AI内容、数字化、营销的ISFJ</p>
</section>
<!-- 关于我 -->
<section class="about-section scroll-animate">
<h2 class="section-title">关于我</h2>
<div class="cards-grid">
<div class="skill-card">
<div class="card-icon" style="background-color: #e3f2fd;">
<i class="fas fa-edit" style="color: #2196f3;"></i>
</div>
<h3>内容创作专家</h3>
<p>7年新媒体运营经验,擅长内容策划与创意输出</p>
</div>
<div class="skill-card">
<div class="card-icon" style="background-color: #e8f5e8;">
<i class="fas fa-robot" style="color: #4caf50;"></i>
</div>
<h3>AI内容实践者</h3>
<p>深度探索AI工具在内容创作中的应用与实践</p>
</div>
<div class="skill-card">
<div class="card-icon" style="background-color: #fce4ec;">
<i class="fas fa-chart-line" style="color: #e91e63;"></i>
</div>
<h3>数据洞察分析</h3>
<p>善于从数据中发现趋势,指导内容运营策略</p>
</div>
<div class="skill-card">
<div class="card-icon" style="background-color: #fff3e0;">
<i class="fas fa-users" style="color: #ff9800;"></i>
</div>
<h3>社群运营</h3>
<p>精通社群搭建与用户运营,提升品牌影响力</p>
</div>
<div class="skill-card">
<div class="card-icon" style="background-color: #ffeaa7;">
<i class="fas fa-share-alt" style="color: #fdcb6e;"></i>
</div>
<h3>知识分享者</h3>
<p>热爱分享运营心得,帮助更多人成长进步</p>
</div>
<div class="skill-card">
<div class="card-icon" style="background-color: #e8f4f8;">
<i class="fas fa-lightbulb" style="color: #17a2b8;"></i>
</div>
<h3>创新思维</h3>
<p>保持敏锐洞察力,不断探索新的运营模式</p>
</div>
</div>
</section>
<!-- 社交媒体 -->
<section class="social-section scroll-animate">
<h2 class="section-title">社交媒体</h2>
<div class="social-grid">
<div class="social-card" onclick="showWechatQRCode()">
<div class="social-icon">
<picture>
<source srcset="images/wechat-icon.webp" type="image/webp">
<img src="images/wechat-icon.png" alt="微信公众号" loading="lazy" style="width: clamp(32px, 6vw, 48px); height: clamp(32px, 6vw, 48px);">
</picture>
</div>
<h3>微信公众号</h3>
<p>四知先生</p>
</div>
<div class="social-card" onclick="window.open('https://b23.tv/yNjbBxm', '_blank')">
<div class="social-icon">
<picture>
<source srcset="images/bilibili-icon.webp" type="image/webp">
<img src="images/bilibili-icon.png" alt="哔哩哔哩" loading="lazy" style="width: clamp(32px, 6vw, 48px); height: clamp(32px, 6vw, 48px);">
</picture>
</div>
<h3>哔哩哔哩</h3>
<p>四知先生</p>
</div>
<div class="social-card" onclick="window.open('https://www.xiaoyuzhoufm.com/podcast/68abb9f43c45b968dd74d9e0', '_blank')">
<div class="social-icon">
<picture>
<source srcset="images/xiaoyuzhou-icon.webp" type="image/webp">
<img src="images/xiaoyuzhou-icon.png" alt="小宇宙" loading="lazy" style="width: clamp(32px, 6vw, 48px); height: clamp(32px, 6vw, 48px);">
</picture>
</div>
<h3>小宇宙</h3>
<p>四知先生</p>
</div>
</div>
</section>
<!-- 最新发布 -->
<section class="blog-section scroll-animate">
<h2 class="section-title">最新发布</h2>
<div class="blog-list">
<div class="blog-item" onclick="window.open('https://yangzhenai.top/posts/shopping', '_blank')">
<h3>AI购物助手如何提升节日购物体验:从淘京拼到小红书的智能导购时代</h3>
<span class="blog-date">2025-12-13</span>
</div>
<div class="blog-item" onclick="window.open('https://yangzhenai.top/posts/09ogp', '_blank')">
<h3>别再无脑吹GitHub图床了!Obsidian玩家必须知道的3个使用红线</h3>
<span class="blog-date">2025-12-09</span>
</div>
<div class="blog-item" onclick="window.open('https://yangzhenai.top/posts/1206claude', '_blank')">
<h3>那些我们在屏幕前等待的碎片时间,终于被它填补了</h3>
<span class="blog-date">2025-12-06</span>
</div>
<div class="blog-item" onclick="window.open('https://yangzhenai.top/posts/1202web', '_blank')">
<h3>2025年 Web 开发新手通关指南:从零开始的保姆级路线图</h3>
<span class="blog-date">2025-12-02</span>
</div>
</div>
<div class="show-more">
<button class="btn-outline" onclick="window.open('https://yangzhenai.top/posts', '_blank')">查看更多</button>
</div>
</section>
<!-- 作品展示 -->
<section class="works-section scroll-animate">
<h2 class="section-title">作品展示</h2>
<div class="works-grid">
<div class="work-card" onclick="window.open('https://www.notion.so/270fb09bf8b8815987acca4d6385f256?source=copy_link', '_blank')">
<div class="work-icon">
<picture>
<source srcset="images/video-icon.webp" type="image/webp">
<img src="images/video-icon.png" alt="视频作品" loading="lazy" style="width: clamp(32px, 6vw, 48px); height: clamp(32px, 6vw, 48px);">
</picture>
</div>
<h3>视频作品</h3>
<p>创意短视频与宣传片制作</p>
</div>
<div class="work-card" onclick="window.open('https://www.notion.so/270fb09bf8b8817ebadbcfa5b606c035?source=copy_link', '_blank')">
<div class="work-icon">
<picture>
<source srcset="images/image-icon.webp" type="image/webp">
<img src="images/image-icon.png" alt="图片作品" loading="lazy" style="width: clamp(32px, 6vw, 48px); height: clamp(32px, 6vw, 48px);">
</picture>
</div>
<h3>图片作品</h3>
<p>平面设计与创意海报制作</p>
</div>
<div class="work-card" onclick="window.open('https://www.notion.so/270fb09bf8b881d49926e1856742e214?source=copy_link', '_blank')">
<div class="work-icon">
<picture>
<source srcset="images/article-icon.webp" type="image/webp">
<img src="images/article-icon.png" alt="文章作品" loading="lazy" style="width: clamp(32px, 6vw, 48px); height: clamp(32px, 6vw, 48px);">
</picture>
</div>
<h3>文章作品</h3>
<p>原创文章与深度内容创作</p>
</div>
</div>
</section>
<!-- 联系方式 -->
<section class="contact-section scroll-animate">
<h2 class="section-title">联系方式</h2>
<div class="contact-grid">
<div class="contact-card" onclick="window.location.href='mailto:yangzhen0806@gmail.com'">
<div class="contact-icon gmail-icon">
<picture>
<source srcset="images/gmail-icon.webp" type="image/webp">
<img src="images/gmail-icon.png" alt="Gmail" loading="lazy" style="width: clamp(32px, 6vw, 48px); height: clamp(32px, 6vw, 48px);">
</picture>
</div>
<h3>邮箱</h3>
<p class="contact-email">yangzhen0806@gmail.com</p>
<p class="contact-action">点击发送邮件</p>
</div>
<div class="contact-card" onclick="copyToClipboard('spsz0831')">
<div class="contact-icon wechat-icon">
<picture>
<source srcset="images/wechat-contact-icon.webp" type="image/webp">
<img src="images/wechat-contact-icon.png" alt="微信" loading="lazy" style="width: clamp(32px, 6vw, 48px); height: clamp(32px, 6vw, 48px);">
</picture>
</div>
<h3>个人微信</h3>
<p class="contact-email">spsz0831</p>
<p class="contact-action">点击复制微信号</p>
</div>
</div>
</section>
<!-- 页脚 -->
<footer class="footer">
<p>© 2025 杨振 - All rights reserved</p>
</footer>
</div>
<!-- 微信公众号二维码弹出框 -->
<div id="wechatModal" class="modal">
<div class="modal-content">
<h3 class="modal-title">微信公众号</h3>
<picture>
<source srcset="images/wechat-qr.webp" type="image/webp">
<img src="images/wechat-qr.jpg" alt="微信公众号二维码" width="240" height="240" loading="lazy" class="qr-code">
</picture>
<p class="qr-desc">四知先生</p>
<button class="modal-close-btn" onclick="hideWechatQRCode()">关闭</button>
</div>
</div>
<!-- JavaScript交互功能 -->
<script>
// 深色模式管理
(function() {
const themeToggle = document.getElementById('theme-toggle');
const html = document.documentElement;
const icon = themeToggle.querySelector('i');
// 从localStorage读取主题偏好,如果没有则检测系统偏好
function getPreferredTheme() {
const savedTheme = localStorage.getItem('theme');
if (savedTheme) {
return savedTheme;
}
// 检测系统深色模式偏好
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
}
// 应用主题
function applyTheme(theme) {
html.setAttribute('data-theme', theme);
localStorage.setItem('theme', theme);
// 更新图标
if (theme === 'dark') {
icon.classList.remove('fa-moon');
icon.classList.add('fa-sun');
} else {
icon.classList.remove('fa-sun');
icon.classList.add('fa-moon');
}
}
// 切换主题
function toggleTheme() {
const currentTheme = html.getAttribute('data-theme') || 'light';
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
applyTheme(newTheme);
}
// 初始化主题
applyTheme(getPreferredTheme());
// 绑定点击事件
themeToggle.addEventListener('click', toggleTheme);
// 监听系统主题变化
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', (e) => {
if (!localStorage.getItem('theme')) {
applyTheme(e.matches ? 'dark' : 'light');
}
});
})();
// 显示微信公众号二维码弹窗
function showWechatQRCode() {
document.getElementById('wechatModal').style.display = 'flex';
}
// 隐藏微信公众号二维码弹窗
function hideWechatQRCode() {
document.getElementById('wechatModal').style.display = 'none';
}
// 复制文本到剪贴板(支持新旧浏览器)
function copyToClipboard(text) {
// 优先使用现代API
navigator.clipboard.writeText(text).then(function() {
alert('微信号已复制到剪贴板:' + text);
}).catch(function() {
// 兼容旧浏览器的降级方案
const textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.select();
document.execCommand('copy');
document.body.removeChild(textArea);
alert('微信号已复制到剪贴板:' + text);
});
}
// 点击模态框背景关闭弹窗
document.getElementById('wechatModal').addEventListener('click', function(e) {
if (e.target === this) {
hideWechatQRCode();
}
});
// 滚动动画 - Intersection Observer
(function() {
const observerOptions = {
root: null,
rootMargin: '0px',
threshold: 0.1
};
const observer = new IntersectionObserver(function(entries) {
entries.forEach(function(entry) {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
// 一旦元素可见,停止观察(性能优化)
observer.unobserve(entry.target);
}
});
}, observerOptions);
// 观察所有带有 scroll-animate 类的元素
document.querySelectorAll('.scroll-animate').forEach(function(element) {
observer.observe(element);
});
})();
</script>
</body>
</html>