一个专业、现代、响应式的个人简历网站,基于 Next.js + TypeScript + Tailwind CSS 构建。
src/
├── app/
│ ├── globals.css # 全局样式
│ ├── layout.tsx # 根布局
│ └── page.tsx # 主页面
├── components/ # React 组件
│ ├── Navbar.tsx # 导航栏
│ ├── Hero.tsx # 首页首屏
│ ├── About.tsx # 关于我
│ ├── Education.tsx # 教育背景
│ ├── Experience.tsx # 经历(实习+研究)
│ ├── Skills.tsx # 技能模块
│ ├── Portfolio.tsx # 作品集
│ ├── AICapability.tsx # AI能力
│ ├── Contact.tsx # 联系方式
│ └── Footer.tsx # 页脚
├── data/ # 数据文件(修改这里更新内容)
│ ├── profile.ts # 基本信息
│ ├── education.ts # 教育背景
│ ├── experience.ts # 实习与研究经历
│ ├── skills.ts # 技能
│ ├── portfolio.ts # 作品集
│ ├── games.ts # 游戏经历
│ ├── aiTools.ts # AI工具
│ ├── leadership.ts # 校园经历
│ └── contact.ts # 联系方式
└── lib/
└── utils.ts # 工具函数
npm install
npm run dev
编辑 src/data/profile.ts:
export const profile = {
name: "你的名字",
nameEn: "Your Name",
title: "职位/身份",
// ...
};
编辑 src/data/education.ts:
export const education: Education[] = [
{
school: "学校名称",
degree: "学位",
major: "专业",
startDate: "2020.09",
endDate: "2024.06",
courses: ["课程1", "课程2"],
// ...
}
];
编辑 src/data/experience.ts:
export const experiences: Experience[] = [
{
id: "unique-id",
type: "work", // 或 "research"
title: "职位",
organization: "公司/组织",
startDate: "2024.01",
endDate: "2024.06",
highlights: ["经历描述1", "经历描述2"],
// ...
}
];
编辑 src/data/portfolio.ts:
export const portfolioItems: PortfolioItem[] = [
{
id: "unique-id",
category: "data", // 或 "game"
title: "项目名称",
description: "项目描述",
tags: ["标签1", "标签2"],
// ...
}
];
public/images/ 目录src/data/profile.ts 中修改 avatarPath:
avatarPath: "/images/your-photo.jpg"
在 tailwind.config.ts 中修改 Tailwind 配置来自定义颜色、字体等。
npm run build
npm start
MIT License