refactor(profile): centralize personal info in data module and update components

Move all personal information to a centralized data module and update components to use this source. This improves maintainability by having a single source of truth for profile data and makes it easier to update information across the application.
This commit is contained in:
joyzhao
2025-06-19 11:00:39 +08:00
parent 5b6b9f5d58
commit 62df420d80
4 changed files with 77 additions and 47 deletions

View File

@@ -1,10 +1,47 @@
export const personalInfo = {
name: "Guiyang Zhao",
location: "Shanghai, China",
avatar: "/images/avatar.jpg",
email: "zhaoguiyang@gmail.com",
name: "Joy Zhao",
location: "China",
avatar: "https://avatars.githubusercontent.com/u/24975063?v=4",
email: "zhaoguiyang18@gmail.com",
github: "https://github.com/zhaoguiyang",
linkedin: "https://linkedin.com/in/zhaoguiyang",
website: "https://zhaoguiyang.com",
twitter: "https://twitter.com/zhaoguiyang",
position: {
en: "Full Stack Engineer",
zh: "全栈工程师"
},
description: {
en: "Crafting elegant solutions to complex problems with clean code and innovative thinking. Welcome to my personal dev workspace where ideas come to life.",
zh: "用优雅的代码和创新的思维,为复杂问题打造精致的解决方案。欢迎来到我的个人开发工作空间,这里是想法变为现实的地方。"
},
about: {
en: [
"I'm a passionate developer with 5+ years of experience building web applications and contributing to open source projects. I specialize in creating clean, efficient, and maintainable code.",
"When I'm not coding, you can find me exploring new technologies, writing tech articles, or enjoying a fresh cup of coffee while debugging complex problems.",
"I believe in continuous learning and staying up-to-date with the latest industry trends and best practices."
],
zh: [
"我是一名充满激情的全栈开发者专注于构建现代化的Web应用程序。我热爱学习新技术并将它们应用到实际项目中。",
"在前端开发方面我精通React、Vue.js和现代JavaScript框架。在后端我有丰富的Node.js、Python和Go语言开发经验。",
"我相信代码的力量可以改变世界,致力于编写干净、高效且可维护的代码。我也热衷于开源项目,喜欢与开发者社区分享知识和经验。"
]
},
stats: {
repositories: 152,
commits: "42K",
contributions: 87
},
skills: {
frontend: ["React", "Vue.js", "Angular", "HTML5", "CSS3", "JavaScript/TypeScript"],
backend: ["Node.js", "Express", "Django", "Flask", "Spring Boot"],
database: ["MongoDB", "PostgreSQL", "MySQL", "Redis"],
devops: ["Docker", "Kubernetes", "AWS", "Azure", "CI/CD pipelines"],
mobile: ["React Native", "Flutter"]
},
terminal: {
username: "joy@dev-workspace" // 更新终端用户名
}
};
export const projects = {