张翔
055b8b9ccc
fix(contact): 修复提交表单宽度异常
...
FadeUp 组件缺少 lg:col-span-3 导致在 grid-cols-5 布局中仅占 1 列(153px),
添加后正确占据 3 列(605px)
2026-04-29 21:40:14 +08:00
张翔
6ae0f1274f
refactor: 页面组件优化与墨韵分割线组件化
...
- 提取 AnimatedInkDivider 组件替代硬编码 ink-divider div
- 重构各营销页面组件代码结构优化
- 修正统计数据:自研产品 4 -> 6
- 更新 about 页面测试用例
2026-04-29 19:15:58 +08:00
张翔
6cda0bfd3d
style: 优化联系页面视觉设计
...
- 改进联系页面背景渐变效果
- 优化联系组件布局和样式
- 提升用户体验和视觉一致性
2026-04-27 21:21:46 +08:00
张翔
1f591fe2b4
feat: 完成网站功能开发与优化
...
- 完善产品页面布局与交互
- 优化服务详情页用户体验
- 增强新闻模块内容展示
- 改进团队页面设计
- 优化全局样式和响应式布局
- 添加分页组件支持
- 提升性能与SEO优化
- 修复已知问题与改进代码质量
2026-04-27 20:53:39 +08:00
张翔
1832640e8f
fix(buttons): 修复 RippleButton 文字显示问题并解决 ESLint 错误
...
修复了 RippleButton 组件因 CVA 默认样式与自定义 className 冲突导致的文字不可见问题。
同时修复了项目中的 TypeScript 类型错误和 ESLint 规范问题。
主要修改:
1. 按钮显示修复:为使用红色文字的按钮添加 variant=outline,
为使用白色背景的按钮添加 variant=secondary
2. TypeScript 类型修复:修复 subtle-dots.tsx 中的类型定义错误,
删除不必要的 jest-dom.d.ts 文件
3. ESLint 规范修复:修复 React Hooks 使用规范问题,
将 useRef+forceUpdate 反模式改为 useState,
使用 eslint-disable 注释处理合理的 setState in effect 场景
4. 测试增强:添加按钮显示验证脚本和全面的页面按钮检查脚本
2026-04-27 16:27:35 +08:00
张翔
e83ecddfe5
refactor(project): 全面清理项目代码并重命名项目
...
- 移除无用文件和空文件夹,清理 effects 和 scripts 目录
- 将项目从 ruixin-website-react 重命名为 novalon-website-react
- 修复所有测试用例,确保 731 个测试全部通过
- 优化组件导入路径和测试 mock 设置
- 更新项目配置文件和依赖管理
关联任务:项目清理与重构
2026-04-27 12:56:22 +08:00
张翔
8fa15cf60e
refactor: 移除电话咨询按钮并更新 Logo 字体
...
- 移除 service-cta-section 中的电话咨询按钮
- 移除 product-cta-section 中的电话咨询按钮
- 移除 solution-detail-client 中的电话咨询按钮
- 使用青柳隶书字体重新生成 Logo SVG
- 公司暂无对外联系电话
2026-04-25 09:50:32 +08:00
张翔
40384ec024
refactor: 优化网站页面结构和数据展示
...
- 增强服务数据模型,添加 challenges 和 outcomes 字段
- 简化统计数据配置,改为静态定义
- 重构多个页面组件,优化代码结构
- 新增产品、服务、解决方案相关的布局和组件
- 更新样式和动画配置
- 优化测试用例和类型定义
- 修复 ESLint 错误:移除不必要的 useEffect 和未使用的导入
2026-04-25 08:44:23 +08:00
张翔
5ed6ee4c76
fix(about): 修复运营时长计算 - 显示剩余天数而非总天数
...
根因:
运营时长计算逻辑错误,days 显示的是总天数而非剩余天数
- 原代码: days = 总天数 (98)
- 显示结果: 0年 3个月 98天 ❌
修复:
- totalDays = 总天数
- years = totalDays / 365
- months = (totalDays % 365) / 30
- days = totalDays % 30 (剩余天数)
- 显示结果: 0年 3个月 8天 ✅
验证:
- 成立日期: 2026-01-15
- 当前日期: 2026-04-23
- 总天数: 98天
- 正确显示: 0年 3个月 8天
2026-04-23 17:15:16 +08:00
张翔
e4d420829c
fix(products): 修复产品页筛选功能 - 分类名称与数据一致
...
根因:
产品页筛选按钮分类名称与产品数据分类不匹配
- 页面按钮: ['软件产品', '云服务', '数据分析', '信息安全']
- 产品数据: ['企业软件', '数据产品']
修复:
修改筛选按钮分类为 ['全部', '企业软件', '数据产品']
验证:
- 全部: 4个产品
- 企业软件: 3个产品 (erp, crm, cms)
- 数据产品: 1个产品 (bi)
2026-04-23 16:53:02 +08:00
张翔
84f488a253
fix(types): 修复 16 个 TypeScript 类型检查错误
...
- 修复 animations.test.tsx 中的 Variant 类型访问问题
- 清理 9 个测试文件中的未使用导入
- 使用可选链操作符处理可能为 undefined 的属性访问
- 修复 mock 组件缺少 displayName 的 ESLint 错误
2026-04-22 19:47:52 +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
张翔
2fc1a586f8
fix(contact): 修复静态导出时 useSearchParams 需要 Suspense 的问题
...
- 将 ContactFormContent 组件用 Suspense 包裹
- 添加加载中 fallback 状态
- 确保静态导出兼容性
2026-04-21 08:38:17 +08:00
张翔
46cff87f27
fix(contact): 切换表单服务到 FormSubmit 并改进错误处理
...
- 将表单提交服务从 Formspree 切换到 FormSubmit(无需 API Key)
- 添加成功状态 URL 参数处理(?success=true)
- 改进错误提示,区分开发环境和生产环境
- 添加 _next 参数支持成功后重定向
- 重构状态初始化避免 useEffect 中同步调用 setState
2026-04-21 08:31:35 +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
张翔
ebaa7f3c50
fix: 修复Woodpecker CI配置文件中的linter错误
...
ci/woodpecker/manual/woodpecker Pipeline was successful
- 移除未使用的YAML锚点定义
- 替换commands字段中的锚点引用为实际值
- 移除有问题的通知步骤
- 修复测试文件中的问题
- 添加新的测试用例和配置文件
2026-03-28 09:42:45 +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
张翔
027ee2137e
feat(e2e): 优化测试配置并增强富文本编辑器测试
...
refactor(cases): 更新案例数据结构字段
test(admin): 增加富文本编辑器多种格式测试
fix(contact-form): 修复表单提交测试并移除skip标记
perf(smart-wait): 改进页面就绪等待逻辑
ci(playwright): 调整firefox配置并优化全局setup
2026-03-26 18:06:34 +08:00
张翔
14448af731
feat: 实现动态详情页面和性能优化
...
- 添加案例、新闻、产品详情页面的E2E测试
- 优化详情页面的客户端组件和页面逻辑
- 添加高性能Docker配置和Nginx配置
- 更新API服务和常量配置
- 添加性能优化文档和任务进度更新
- 修复ESLint错误和类型问题
2026-03-26 12:53:58 +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
张翔
f5dec95a83
feat: 添加管理后台页面和功能,优化测试和性能配置
...
refactor: 重构页面导航和滚动逻辑,提升用户体验
test: 更新测试配置和用例,增加覆盖率和稳定性
perf: 优化性能指标和阈值,适应开发环境需求
ci: 添加Lighthouse CI工作流,集成性能测试
docs: 更新API文档和健康检查端点
fix: 修复登录页面和表单提交问题
style: 调整响应式布局和可访问性改进
chore: 更新依赖项和脚本配置
2026-03-24 10:11:30 +08:00
张翔
342c706552
fix: resolve hydration mismatch by moving config fetch to server-side
2026-03-13 14:14:54 +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
张翔
b207bfa7af
feat: 增加测试覆盖率并优化代码质量
...
test: 添加单元测试和端到端测试
refactor: 重构登录页面和上传模块
ci: 更新测试覆盖率阈值至42%
build: 添加测试相关依赖
docs: 更新测试文档
style: 修复代码格式问题
2026-03-11 11:14:37 +08:00
张翔
6d92024b63
feat: 修复测试套件问题并添加Woodpecker CI配置
...
- 修复API测试认证问题:创建全局认证设置,更新Playwright配置
- 优化回归测试稳定性:增加超时时间到15秒,修复定位器
- 创建Woodpecker CI工作流:CI、部署和质量门禁配置
- 添加Jest配置和测试脚本
- 移除登录页面的默认账号密码显示(安全问题修复)
2026-03-09 10:26:02 +08:00
张翔
feb646efe5
fix: 修复移动端导航菜单选择器问题
...
feat: 为主导航菜单和页面区块添加ARIA属性
fix: 解决工作时间信息获取问题
perf: 优化页面滚动功能实现
fix: 修正联系页面标题显示问题
test: 运行完整测试套件验证修复效果
docs: 添加修复完成报告
2026-03-07 15:20:40 +08:00
张翔
32368122bb
merge: merge color-heading-optimization into feat-init
...
- Add color contrast optimization and checking tools
- Add heading hierarchy guidelines and checker
- Resolve package-lock.json conflict (keeping feat-init version)
2026-03-07 10:47:43 +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
张翔
0ad042701a
fix: correct heading hierarchy in about page - change H4 to H3 for milestones
2026-03-06 20:44:41 +08:00
张翔
1238123675
fix: correct heading hierarchy in contact page - change H3/H4 to H2 for proper SEO structure
2026-03-06 20:44:25 +08:00
张翔
2d6cd79067
fix: add name and data-testid attributes for form input fields
2026-03-05 21:51:50 +08:00
张翔
318081a62a
fix: add data-testid attributes for contact page elements
2026-03-05 21:49:12 +08:00
张翔
9cbc80742a
feat: 重构联系页面并增强安全性
...
refactor: 优化导航和路由逻辑
fix: 修复移动端样式问题
perf: 优化字体加载和性能
test: 添加安全性和可访问性测试
style: 调整按钮和表单样式
chore: 更新依赖版本
ci: 添加安全头配置
build: 优化构建配置
docs: 更新常量信息
2026-03-01 10:56:54 +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
张翔
9d01e0982f
fix: improve type safety in service detail page
2026-02-27 20:41:40 +08:00
张翔
94c419f601
feat: add back to home button on all list pages
2026-02-27 20:39:50 +08:00
张翔
5924a7d493
feat: add skeleton screen components and optimize image config
2026-02-27 20:30:36 +08:00
张翔
b787c769ec
feat: implement contact form submission with validation
2026-02-27 10:59:29 +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
张翔
14af1a755f
refactor: update solutions page color scheme to brand red
2026-02-26 21:30:44 +08:00
张翔
e72d678521
refactor: update case detail page color scheme to brand red
2026-02-26 21:29:48 +08:00
张翔
8cb5b7659f
feat: add products list page
2026-02-26 21:27:49 +08:00
张翔
cb512bb13a
refactor: update homepage section order with cases section
2026-02-26 21:26:26 +08:00
张翔
1e1c68670b
refactor: remove service detail modal component
2026-02-26 21:24:59 +08:00