张翔
9be474b06b
fix: 暂时移除'身份'的书法字体,使用普通字体确保完整显示
...
- 由于书法字体渲染问题,暂时使用普通字体
- 确保'身份'两个字都能完整显示
- 后续可以尝试其他书法字体方案
2026-04-22 07:38:26 +08:00
张翔
40b698ff01
fix: 修复'身份'书法字体显示问题
...
- 确认AoyagiReisho.ttf字体包含完整的'身份'两个字
- 优化font-calligraphy类的字体加载顺序
- 将var(--font-aoyagi-reisho)放在最前面确保优先使用
- 确保书法字体能够正确加载和显示
2026-04-22 07:29:27 +08:00
张翔
7873bcf089
fix: 移除'身份'的书法字体样式,确保完整显示
...
- 移除可能导致字符缺失的书法字体样式
- 改用普通加粗样式突出显示'身份'
- 确保所有字符都能正常显示
2026-04-22 07:27:45 +08:00
张翔
f952f61d6a
fix: 修复首页解决方案部分'身份'字体显示问题
...
- 将'身份'的字体样式从CSS类改为内联样式
- 确保书法字体'Aoyagi Reisho'能够正确加载
- 提高字体加载的可靠性
2026-04-22 07:23:51 +08:00
张翔
2f45818724
feat(analytics): enhance Google Analytics with privacy compliance and comprehensive tracking
...
- Add automatic route change tracking for SPA navigation
- Implement Cookie consent banner for GDPR compliance
- Add performance tracking (LCP, FID, CLS Web Vitals)
- Add outbound link click tracking
- Integrate contact form submission tracking with conversion events
- Add CTA button click tracking in hero section
- Integrate error tracking in ErrorBoundary component
- Extend analytics utility library with 15+ tracking functions
- Configure IP anonymization and privacy settings
- Remove unused test files and deployment scripts
- Update case studies to include only specified cases
- Fix mobile navigation active state issues
- Fix lint errors in test files and components
BREAKING CHANGE: Google Analytics now requires user consent before tracking
2026-04-22 07:19:29 +08:00
张翔
b117372b03
refactor: 重构首页布局并新增团队页面
...
- 删除 insights-section 和 testimonials-section 组件
- 新增团队页面 (team/) 及相关组件
- 添加"解决方案"导航项
- 新增 home-solutions-section、methodology-section、team-section 组件
- 优化首页内容结构和产品区块
2026-04-21 17:42:51 +08:00
张翔
3ea5cf849e
feat(cases): 新增智慧农业案例并优化政府案例数据
...
- 新增农业种植灌溉信息化建设咨询项目案例
- 更新政府案例:添加关键成果数据、优化客户评价
- 同步更新测试用例和页面组件
2026-04-21 16:57:20 +08:00
张翔
de94e931af
feat(deploy): 添加 Docker 部署配置与 SSR 优化
...
- 添加 Dockerfile.static、docker-compose.server.yml 和 nginx-internal.conf
- 优化 Hero 统计数据为 SSR 渲染,提升首屏性能
- 更新案例数据为政府单位数字化解决方案
- 统计数据改为动态计算,基于案例数据和当前年份
- 修复计数器动画初始状态问题
2026-04-21 15:51:03 +08:00
张翔
933a831ab3
feat: 添加 AoyagiReisho 书法字体并优化表单反馈
...
- 使用 next/font/local 加载 AoyagiReisho.ttf 字体
- 为标题红色高亮文字应用书法字体样式
- 优化联系表单提交反馈,添加成功/失败提示
- 修复 section 参数滚动定位的时序问题
2026-04-21 11:18:29 +08:00
张翔
6403489954
refactor: 完成静态网站转换,移除所有 CMS 和动态功能
...
- 删除数据库相关代码 (src/db/)
- 删除 API 路由 (src/app/api/)
- 删除认证相关代码 (src/lib/auth/, src/providers/)
- 删除监控和安全中间件 (src/lib/security/, src/lib/monitoring/)
- 删除 hooks (use-news, use-products, use-services)
- 更新组件为静态数据源
- 添加 nginx 静态配置和部署脚本
- 添加 static-link 组件
2026-04-21 07:53:56 +08:00
张翔
e6e3f79a2b
feat: 更新项目配置和文档,优化UI样式和CI配置
...
- 从tsconfig.json中移除测试文件排除规则
- 优化错误边界组件的min-h样式
- 修正about-section中的引号转义和背景样式
- 更新woodpecker.yml中的release分支匹配模式
- 新增monorepo多站点架构设计方案文档
2026-03-28 14:39:28 +08:00
张翔
a003f1192e
feat(ui/ux): 优化用户体验和可访问性
...
- 字体加载优化: 添加 font-display: block 策略,创建 useFontLoading hook
- 色彩对比度: 调整 text-muted 和 text-tertiary 颜色值确保 WCAG AA 合规
- 滚动进度条: 新增 ScrollProgress 组件,支持 reduced motion
- 表单自动保存: 新增 useFormAutosave hook,防止用户数据丢失
- 返回顶部按钮: 新增 BackToTop 组件,提升长页面导航体验
- 图片懒加载: 优化 OptimizedImage 组件,添加 blur placeholder 和加载动画
所有新组件均包含完整测试,1450+ 测试通过
2026-03-28 11:21:04 +08:00
张翔
ebaa7f3c50
fix: 修复Woodpecker CI配置文件中的linter错误
...
ci/woodpecker/manual/woodpecker Pipeline was successful
- 移除未使用的YAML锚点定义
- 替换commands字段中的锚点引用为实际值
- 移除有问题的通知步骤
- 修复测试文件中的问题
- 添加新的测试用例和配置文件
2026-03-28 09:42:45 +08:00
张翔
a5ee6489a1
fix(assets): 重命名备案图标为英文名避免编码问题
2026-03-27 22:41:19 +08:00
张翔
d3df2299bd
fix(footer): 更新公安备案链接并添加备案图标
2026-03-27 17:23:37 +08:00
张翔
1c8241da4e
style(layout): 优化移动端标签栏的样式类名
...
refactor(.gitignore): 重构并清理.gitignore文件
将文件内容按功能分类并添加注释,删除冗余条目,提高可读性和维护性
2026-03-27 16:17:49 +08:00
张翔
df8043c0df
feat: 添加E2E测试并优化Docker部署配置
...
- 新增Playwright E2E测试配置和测试脚本
- 优化Dockerfile和docker-compose.yml配置
- 新增novalon-nginx和novalon-website的docker-compose配置
- 优化contact页面和contact-section组件的代码结构
- 更新多个页面的SEO和元数据配置
- 添加备案图标资源
- 修复ESLint错误:转义引号、添加ESLint禁用注释、移除未使用变量
测试覆盖: 新增website-acceptance.spec.ts E2E测试
2026-03-27 12:39:30 +08:00
张翔
f76137b8b0
feat: 移除电话号码展示,更新ICP备案号
...
- 暂时移除联系方式中的电话号码展示
- 更新ICP备案号为:蜀ICP备2026013658号
2026-03-27 09:28:58 +08:00
张翔
14448af731
feat: 实现动态详情页面和性能优化
...
- 添加案例、新闻、产品详情页面的E2E测试
- 优化详情页面的客户端组件和页面逻辑
- 添加高性能Docker配置和Nginx配置
- 更新API服务和常量配置
- 添加性能优化文档和任务进度更新
- 修复ESLint错误和类型问题
2026-03-26 12:53:58 +08:00
张翔
9d2b77602d
test(contact-section): 为测试文件添加类型定义并改进mock实现
...
为contact-section测试文件添加了类型定义接口,包括MotionComponentProps、InputComponentProps和ToastComponentProps
替换了原有的any类型,使用更严格的类型定义来改进mock实现
2026-03-24 12:36:23 +08:00
张翔
dea94b9955
feat: update contact form client with captcha support
2026-03-24 11:21:43 +08:00
张翔
f5dec95a83
feat: 添加管理后台页面和功能,优化测试和性能配置
...
refactor: 重构页面导航和滚动逻辑,提升用户体验
test: 更新测试配置和用例,增加覆盖率和稳定性
perf: 优化性能指标和阈值,适应开发环境需求
ci: 添加Lighthouse CI工作流,集成性能测试
docs: 更新API文档和健康检查端点
fix: 修复登录页面和表单提交问题
style: 调整响应式布局和可访问性改进
chore: 更新依赖项和脚本配置
2026-03-24 10:11:30 +08:00
张翔
ac2672729f
feat: 实现内容管理API及相关功能
...
refactor(services-section): 重构服务展示组件使用API数据
refactor(news-section): 重构新闻展示组件使用API数据
refactor(products-section): 重构产品展示组件使用API数据
test: 添加API客户端和服务钩子的单元测试
test(e2e): 添加配置验证和API响应格式的端到端测试
ci: 更新Playwright测试配置
2026-03-13 18:55:25 +08:00
张翔
4fdfc2d8b4
feat: implement frontend-backend configuration linkage
...
- Create public config API for frontend consumption
- Add configuration fetching to homepage
- Implement module show/hide logic based on config
- Add support for Services items filtering
- Add support for Products featured products and pricing display
- Add support for News display count, categories, and sort order
- Fix table name from 'configs' to 'siteConfig' in API route
- Update type definitions for proper TypeScript support
2026-03-13 13:11:20 +08:00
张翔
f357330ba8
feat: 重构用户角色系统为管理员标识
...
- 将用户角色字段从role改为is_admin布尔值
- 更新相关API权限检查逻辑
- 修改数据库schema和迁移文件
- 调整前端用户显示逻辑
- 添加API响应工具函数
- 优化权限检查中间件
- 重构英雄组件为原子组件
2026-03-12 20:45:43 +08:00
张翔
b207bfa7af
feat: 增加测试覆盖率并优化代码质量
...
test: 添加单元测试和端到端测试
refactor: 重构登录页面和上传模块
ci: 更新测试覆盖率阈值至42%
build: 添加测试相关依赖
docs: 更新测试文档
style: 修复代码格式问题
2026-03-11 11:14:37 +08:00
张翔
e8dffa4f05
chore: remove GitHub Actions workflows, use Woodpecker CI exclusively
2026-03-10 13:10:11 +08:00
张翔
6d92024b63
feat: 修复测试套件问题并添加Woodpecker CI配置
...
- 修复API测试认证问题:创建全局认证设置,更新Playwright配置
- 优化回归测试稳定性:增加超时时间到15秒,修复定位器
- 创建Woodpecker CI工作流:CI、部署和质量门禁配置
- 添加Jest配置和测试脚本
- 移除登录页面的默认账号密码显示(安全问题修复)
2026-03-09 10:26:02 +08:00
张翔
92af40df8e
fix: resolve test failures and improve test stability
...
- Fix navigation menu display and click issues
- Fix scroll to top/bottom test failures
- Fix section display tests by removing non-existent contact section
- Add data-testid attributes for better test reliability
- Optimize test expectations for scroll behavior
- Add contact page layout for metadata export
- Update section components with proper ARIA attributes
2026-03-07 10:47:14 +08:00
张翔
badce55606
feat: add data-testid and data-type support to Toast component
2026-03-06 17:49:27 +08:00
张翔
0222f20a19
feat: add data-testid attributes for form elements to improve testability
2026-03-06 17:45:41 +08:00
张翔
c678df44ae
fix: improve footer visibility with data-testid and waitForFooter method
2026-03-05 22:53:12 +08:00
张翔
2f6f6a6aca
fix: add navigation role attribute for better test selector
2026-03-05 20:59:25 +08:00
张翔
136fe7ac04
fix: update gitignore and footer component
2026-03-05 16:43:44 +08:00
张翔
060566fd73
chore: clean up mobile test files and update components
2026-03-05 14:23:19 +08:00
张翔
6797c24b5c
feat: 添加移动端适配和测试功能
...
refactor(layout): 优化页脚布局和备案信息展示
feat(constants): 添加ICP备案和公安备案信息
feat(header): 实现移动端加载时的骨架屏效果
style(globals): 调整文字颜色和添加移动端响应样式
feat(breadcrumb): 增加返回按钮和响应式优化
feat(e2e): 添加移动端测试工具和测试用例
docs: 添加页脚重设计文档
2026-03-05 11:40:21 +08:00
张翔
9cbc80742a
feat: 重构联系页面并增强安全性
...
refactor: 优化导航和路由逻辑
fix: 修复移动端样式问题
perf: 优化字体加载和性能
test: 添加安全性和可访问性测试
style: 调整按钮和表单样式
chore: 更新依赖版本
ci: 添加安全头配置
build: 优化构建配置
docs: 更新常量信息
2026-03-01 10:56:54 +08:00
张翔
13c4a2ca49
feat: 优化网站性能、响应式设计和测试覆盖率
...
- 更新next.config.ts配置以优化图片和静态资源
- 优化字体加载策略,减少首屏阻塞
- 使用Next.js Image组件替换img标签并实现懒加载
- 重构移动端菜单交互,提升触摸体验
- 新增安全测试和可访问性测试用例
- 修复导航栏滚动定位问题
- 更新部署就绪测试脚本
- 添加相关文档说明优化细节
2026-02-28 22:32:45 +08:00
张翔
0cfefaa937
refactor(ui): 优化导航组件和页面布局
...
- 移除多个页面的面包屑导航组件
- 添加统一的返回按钮组件替代各页面独立实现
- 优化导航栏滚动检测逻辑和动画效果
- 更新常量类型定义和统计数据
- 调整动态导入的SSR配置为false
- 添加FlipClock组件展示公司运营时长
- 优化新闻列表页的类型安全和响应式设计
2026-02-28 13:09:07 +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
张翔
fd058a53d1
fix: add missing SectionSkeleton component
2026-02-27 20:35:37 +08:00
张翔
5924a7d493
feat: add skeleton screen components and optimize image config
2026-02-27 20:30:36 +08:00
张翔
aa47a45a95
feat: add touch swipe support for mobile
2026-02-27 20:29:00 +08:00
张翔
1bdb95b5b6
feat: optimize mobile form input experience
2026-02-27 20:27:17 +08:00
张翔
44bf88b200
feat: add mobile tab bar navigation
2026-02-27 20:26:08 +08:00
张翔
b426bc9b62
style: restore red underline for active navigation item
2026-02-27 12:01:59 +08:00
张翔
f70d8dace9
style: remove red focus rings from navigation header
2026-02-27 11:46:07 +08:00
张翔
5d5b7feb0a
feat(e2e): 添加完整的E2E测试框架和测试用例
...
添加Playwright测试框架配置和基础页面对象
实现冒烟测试用例覆盖首页和联系页面核心功能
更新导航组件以支持滚动高亮功能
添加BackButton组件统一返回按钮行为
配置Woodpecker CI集成和测试报告生成
2026-02-27 10:30:33 +08:00
张翔
4a616fe96e
refactor: complete website optimization - unified navigation, colors, and structure
...
- Created service detail pages with storytelling style
- Created service list page
- Removed service modal interactions
- Simplified homepage About section
- Added homepage Cases section
- Updated navigation to use page links instead of anchors
- Created products list page
- Updated footer links
- Unified color scheme to brand red (#C41E3A)
- Fixed TypeScript errors (removed unused imports)
- Fixed JSX syntax errors
- Split About page into server and client components
- All tests passing: typecheck and build successful
2026-02-26 21:43:44 +08:00
张翔
702b3296bc
refactor: update footer links to use page navigation
2026-02-26 21:28:47 +08:00