developer-portfolio
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDeveloper Portfolio Pro
专业开发者作品集
A modern, responsive portfolio with Next.js, Lottie animations, contact form with Email/Telegram, and dev.to blog integration.
一个基于Next.js的现代化响应式作品集网站,集成Lottie动画、支持邮件/电报的联系表单,以及dev.to博客整合。
Tech Stack
技术栈
- Framework: Next.js 16 with App Router
- React: React 19
- Styling: Tailwind CSS 4
- Animation: Lottie
- Package Manager: pnpm
- Output: directory
.next - Dev Port: 3000
- 框架:Next.js 16(搭配App Router)
- React:React 19
- 样式:Tailwind CSS 4
- 动画:Lottie
- 包管理器:pnpm
- 输出目录:
.next - 开发端口:3000
Setup
安装步骤
1. Clone the Template
1. 克隆模板
bash
git clone --depth 1 https://github.com/Eng0AI/developer-portfolio-template.git .If the directory is not empty:
bash
git clone --depth 1 https://github.com/Eng0AI/developer-portfolio-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_templatebash
git clone --depth 1 https://github.com/Eng0AI/developer-portfolio-template.git .如果目标目录非空:
bash
git clone --depth 1 https://github.com/Eng0AI/developer-portfolio-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template2. Remove Git History (Optional)
2. 移除Git历史记录(可选)
bash
rm -rf .git
git initbash
rm -rf .git
git init3. Install Dependencies
3. 安装依赖
bash
pnpm installbash
pnpm installBuild
构建
bash
pnpm buildbash
pnpm buildDeploy
部署
Vercel (Recommended)
Vercel(推荐)
bash
vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKENbash
vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKENNetlify
Netlify
bash
netlify deploy --prodbash
netlify deploy --prodCustomization
自定义配置
Edit content in :
utils/data/- - Name, bio, social links
personal-data.js - - Work history
experience.js - - Portfolio projects
projects-data.js - - Technical skills
skills.js - - Education background
educations.js
编辑目录下的内容:
utils/data/- - 姓名、个人简介、社交链接
personal-data.js - - 工作经历
experience.js - - 作品集项目
projects-data.js - - 技术技能
skills.js - - 教育背景
educations.js
Environment Variables
环境变量
| Variable | Required | Description |
|---|---|---|
| No | Google Tag Manager ID |
| Yes | Your portfolio's public URL |
| No | Telegram bot token for contact form |
| No | Telegram chat ID |
| No | Gmail app password |
| No | Gmail address for contact form |
| 变量 | 是否必填 | 说明 |
|---|---|---|
| 否 | Google Tag Manager ID |
| 是 | 你的作品集公开访问地址 |
| 否 | 用于联系表单的Telegram机器人令牌 |
| 否 | Telegram聊天ID |
| 否 | Gmail应用专用密码 |
| 否 | 联系表单使用的Gmail地址 |