Commit Graph

17 Commits

Author SHA1 Message Date
张翔 1c8241da4e style(layout): 优化移动端标签栏的样式类名
refactor(.gitignore): 重构并清理.gitignore文件
将文件内容按功能分类并添加注释,删除冗余条目,提高可读性和维护性
2026-03-27 16:17:49 +08:00
张翔 c784c205f4 chore: 移除敏感配置文件并优化.gitignore
- 从git追踪中移除.env.production(包含真实API密钥和密码)
- 在.gitignore中明确添加.env.production规则
- 清理.gitignore中的重复规则(.bak, .backup, .tmp, .temp, .trae/)
- 提升安全性,防止敏感配置泄露
2026-03-27 15:54:17 +08:00
张翔 7145add64d chore: 更新.gitignore并删除敏感文件和备份文件
添加.auth目录和备份文件到.gitignore
删除已存在的敏感认证文件和CSS备份文件
2026-03-27 15:39:49 +08:00
张翔 6c4c6c0c1f refactor: 全面改进部署脚本,增强健壮性和可维护性
高优先级改进:
- 使用更精确的容器状态检查方法(docker inspect)
- 添加容器日志命令的错误处理
- 将nginx容器名称改为变量(NGINX_CONTAINER_NAME)

中优先级改进:
- 添加部署前文件检查(检查必要文件和工具)
- 添加部署后验证(HTTP/HTTPS服务响应检查)
- 添加日志记录功能(自动创建日志文件)
- 改进健康检查机制(检查容器状态和服务响应)

低优先级改进:
- 添加参数化配置(支持命令行参数)
- 添加帮助信息(-h选项)

其他改进:
- 更新.gitignore,忽略部署日志文件
- 支持自定义服务器IP、用户名、项目名、容器名、版本号
- 提供详细的帮助信息和使用说明
2026-03-26 20:15:21 +08:00
张翔 498bb3a3c8 refactor: reorganize project structure and improve code quality
- Move CI/CD configs to config/ci/ directory
- Reorganize scripts into categorized directories (deployment, monitoring, testing, utils)
- Consolidate documentation into docs/ directory with proper structure
- Update linting and testing configurations
- Remove obsolete test reports and performance summaries
- Add new documentation for code quality tools and contact form security
- Improve project organization and maintainability
- Fix lint-staged config to only lint JS/TS files
- Disable react/react-in-jsx-scope rule for Next.js compatibility
- Ignore scripts and test config directories in ESLint
2026-03-24 13:38:58 +08:00
张翔 9d2b77602d test(contact-section): 为测试文件添加类型定义并改进mock实现
为contact-section测试文件添加了类型定义接口,包括MotionComponentProps、InputComponentProps和ToastComponentProps
替换了原有的any类型,使用更严格的类型定义来改进mock实现
2026-03-24 12:36:23 +08:00
张翔 62e251c6f3 feat: 配置 NextAuth.js 认证系统
- 支持邮箱密码登录
- 支持 Magic Link 登录(Resend)
- 配置 Session Provider
- 添加 TypeScript 类型定义
2026-03-08 21:11:58 +08:00
张翔 b2cc015cef chore: 配置环境变量和 .gitignore
- 添加数据库、认证、邮件配置
- 配置本地文件上传目录
- 忽略数据库文件和上传目录
2026-03-08 20:48:21 +08:00
张翔 461b4a20ad chore: update .gitignore for comprehensive E2E test artifacts
- Add comprehensive ignore rules for E2E test results
- Ignore all test media files (screenshots, videos, traces)
- Add ignore rules for allure-results and playwright-report
- Remove .gitkeep exceptions for test-results directories
- Add ignore rules for test execution artifacts
- Ensure visual regression snapshots are tracked (not ignored)
- Remove temporary test files (hero-check.png, test-screenshot.png)

Test results directories:
- e2e/test-results/ (1.3G)
- e2e/playwright-report/ (1.3G)
- e2e/allure-results/ (12G)

Visual regression snapshots in e2e/src/tests/visual/*-snapshots/
will be committed to version control for baseline comparison.
2026-03-07 12:56:18 +08:00
张翔 4c8714c12d feat: complete system test fixes - 100% pass rate (85/85)
- Fixed all form tests (20/20 passing)
- Fixed all performance tests (35/35 passing)
- Fixed all SEO and accessibility tests (30/30 passing)
- Enhanced test framework with custom reporting
- Added performance baseline tracking
- Improved test reliability and error handling
2026-03-06 19:37:02 +08:00
张翔 db9f61ea19 chore: add test results directory structure 2026-03-06 10:12:10 +08:00
张翔 136fe7ac04 fix: update gitignore and footer component 2026-03-05 16:43:44 +08:00
张翔 9451814ca4 feat: 添加面包屑导航组件并优化页面布局
refactor: 重构页面结构和导航逻辑

fix: 修复移动端菜单导航和滚动行为

perf: 优化图片加载性能和资源请求

test: 添加端到端测试和性能测试用例

docs: 更新.gitignore文件

chore: 更新依赖和配置

style: 优化代码格式和类型安全

ci: 调整Playwright测试超时时间

build: 更新Next.js配置和构建选项
2026-02-28 09:09:04 +08:00
张翔 5d5b7feb0a feat(e2e): 添加完整的E2E测试框架和测试用例
添加Playwright测试框架配置和基础页面对象
实现冒烟测试用例覆盖首页和联系页面核心功能
更新导航组件以支持滚动高亮功能
添加BackButton组件统一返回按钮行为
配置Woodpecker CI集成和测试报告生成
2026-02-27 10:30:33 +08:00
张翔 2b74a83e72 feat: 添加核心工具函数、颜色配置和常量数据
style: 优化.gitignore文件结构

test: 添加导航测试用例

docs: 删除旧版网站重设计文档

chore: 更新浏览器配置和设置管理
2026-02-21 18:52:48 +08:00
张翔 150024b6ac build: 更新Next.js配置以支持静态导出并添加新依赖
更新next.config.ts文件以支持静态导出功能,并添加了多个新的依赖项到package.json中,包括UI组件库和动画库。同时生成了构建相关的文件和配置。
2026-02-02 17:59:29 +08:00
张翔 f9df7b4d8f Initial commit from Create Next App 2026-02-02 09:26:01 +08:00