feat: 初始化项目

- 初始化 Vue 3 + Vite 项目结构
- 添加核心组件 (Hero, About, Projects, Friends 等)
- 配置页面路由和基础样式
- 添加服务端 API 接口 (邮件发送, 好友请求)
- 添加项目配置文件 (vercel.json, vite.config.js)
This commit is contained in:
2025-12-06 23:39:15 +08:00
commit f80e5c0b5a
33 changed files with 1964 additions and 0 deletions

22
.env.example Normal file
View File

@@ -0,0 +1,22 @@
VITE_GITHUB_TOKEN=your-github-token
# SMTP 服务器地址
SMTP_HOST=smtp.example.com
# SMTP 端口(不填写默认465
SMTP_PORT=465
# SMTP 用户名一般与SENDER_EMAIL相同
SMTP_USER=your-email@example.com
# SMTP 密码
SMTP_PASS=your-email-password
# 收件邮箱地址
ADMIN_EMAIL=admin@example.com
# 发件邮箱地址一般与SMTP_USER相同
SENDER_EMAIL=sender@example.com
# 是否启用SSL
SMTP_SECURE=true