张翔
1f591fe2b4
feat: 完成网站功能开发与优化
...
- 完善产品页面布局与交互
- 优化服务详情页用户体验
- 增强新闻模块内容展示
- 改进团队页面设计
- 优化全局样式和响应式布局
- 添加分页组件支持
- 提升性能与SEO优化
- 修复已知问题与改进代码质量
2026-04-27 20:53:39 +08:00
张翔
0258b8d39a
fix: 修复 E2E 测试失败问题
...
- 修复 Logo alt 属性,使用繁体字"睿新致遠"
- 修复关于我们页面电话测试选择器
- 修复表单验证测试,改用 blur 触发验证
- 修复无障碍访问测试,处理多个 nav 元素情况
- 所有测试通过(42/42)
2026-04-25 09:01:12 +08:00
张翔
40384ec024
refactor: 优化网站页面结构和数据展示
...
- 增强服务数据模型,添加 challenges 和 outcomes 字段
- 简化统计数据配置,改为静态定义
- 重构多个页面组件,优化代码结构
- 新增产品、服务、解决方案相关的布局和组件
- 更新样式和动画配置
- 优化测试用例和类型定义
- 修复 ESLint 错误:移除不必要的 useEffect 和未使用的导入
2026-04-25 08:44:23 +08:00
张翔
7484512252
refactor(导航): 将哈希路由改为标准路径路由
...
重构导航系统,将原有的哈希路由(#section)改为标准路径路由(/path)
修改相关组件和测试用例以适应新的路由方式
移除不必要的滚动和哈希监听逻辑
2026-04-23 08:07:48 +08:00
张翔
2b7efb23ec
fix: 修复字体加载警告和Logo图片宽高比问题
...
## 修复内容
### 字体优化
- 创建 AoyagiReisho-subset.ttf 子集字体,仅包含"睿新致远"4个字符
- 文件大小从 4.4MB 减小到 5KB(99.9% 减少)
- 修复 vmtx 表解析错误导致的 48 个控制台警告
### Logo 图片修复
- 修复 Logo SVG 宽高比问题(原始 480x120,4:1 比例)
- Header: width=128 height=32
- Footer: width=192 height=48
- 消除 Next.js Image 组件警告
### 其他优化
- 简化字体加载逻辑
- 更新部署配置
## 测试结果
- 32 个回归测试全部通过
- 0 个控制台警告
- 0 个错误
2026-04-22 16:00:49 +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
张翔
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
张翔
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
张翔
2f6f6a6aca
fix: add navigation role attribute for better test selector
2026-03-05 20:59:25 +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
张翔
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
张翔
2b08a536eb
refactor: update navigation to use independent page links
2026-02-26 21:27:19 +08:00
张翔
fecbfd1990
feat: 添加预览效果页面并优化交互效果
...
refactor: 优化代码健壮性和类型安全
style: 更新字体样式和全局CSS
fix: 修复IntersectionObserver潜在空引用问题
chore: 更新依赖和ESLint配置
build: 更新构建ID和路由配置
2026-02-24 10:24:05 +08:00
张翔
016b7cfb91
feat(a11y,ux): implement comprehensive accessibility and UX optimizations
...
Phase 1: Accessibility Optimizations
- Add proper label associations and ARIA attributes to form inputs
- Implement aria-required, aria-invalid, aria-describedby for better form accessibility
- Add role='alert' for error messages
- Enhance keyboard navigation with aria-expanded, aria-controls
- Add aria-label for mobile menu button
- Implement aria-current for active navigation items
- Add semantic HTML with aria-labelledby for sections
Phase 2: UX Optimizations
- Create loading skeleton components for better loading states
- Add FormSkeleton, SectionSkeleton, and LoadingSkeleton components
- Prepare for lazy loading implementation
Files modified:
- src/components/ui/input.tsx: Enhanced with ARIA attributes
- src/components/ui/textarea.tsx: Enhanced with ARIA attributes
- src/components/layout/header.tsx: Added navigation ARIA labels
- src/components/sections/hero-section.tsx: Added section labels
- src/components/sections/services-section.tsx: Added section labels
- src/components/ui/loading-skeleton.tsx: New loading state components
Impact:
- WCAG 2.1 AA compliance improvements
- Better screen reader support
- Enhanced keyboard navigation
- Improved user feedback during loading
2026-02-24 00:40:19 +08:00
张翔
5ec2ad0043
style(ui组件): 更新UI组件颜色方案为深色主题
...
refactor(card): 调整卡片背景色和边框颜色
refactor(badge): 修改徽章颜色变体
refactor(button): 更新按钮颜色样式
refactor(input): 调整输入框颜色方案
refactor(textarea): 修改文本区域颜色样式
refactor(header): 更新导航栏颜色
refactor(hero-section): 调整英雄区域颜色和渐变
2026-02-23 09:18:41 +08:00
张翔
39c37d15fb
refactor: 优化导航栏右侧按钮,移除重复文案
...
- 移除重复的'联系我们'按钮
- 移除'了解更多'按钮(导航栏已有'关于我们'链接)
- 保留一个'立即咨询'主按钮,引导用户行动
2026-02-23 08:32:39 +08:00
张翔
d6e87dfafe
fix: 修复导航栏点击后 active 状态被滚动覆盖的问题
...
- 添加 isScrollingRef 标记,在点击导航后阻止滚动监听器更新 activeSection
- 改进 section 检测逻辑,使用 sectionTop 和 sectionBottom 精确判断
- 点击导航后 1 秒内不响应滚动检测,确保平滑滚动完成
2026-02-23 08:26:03 +08:00
张翔
b32fcdbbdc
refactor: 移除主题切换功能,统一使用明亮风格
...
- 从 Header 移除 ThemeToggle 组件
- 删除 theme-toggle.tsx 文件
- 简化 theme-context.tsx,只保留 light 主题~
2026-02-23 08:04:50 +08:00
张翔
b64ce24170
feat: 更新导航栏组件样式
...
- 添加玻璃态背景效果
- 添加科技蓝发光阴影
- 更新文字颜色使用 CSS 变量
- 统一深色模式样式
- 优化移动端菜单样式
2026-02-22 15:15:01 +08:00
张翔
15e17a8f20
fix: add light/dark mode support with Tailwind dark: prefix
2026-02-21 23:32:47 +08:00
张翔
1b0454998d
feat: enhance header with dark tech theme and framer-motion animations
2026-02-21 22:55:24 +08:00
张翔
8175c2f035
feat: add dark mode support with theme toggle
2026-02-13 15:17:42 +08:00
张翔
522f1e09a7
feat: 重构网站UI设计并优化布局结构
...
重构整体UI设计,采用红色主题配色方案
优化页面布局结构,将Header和Footer移至page组件
更新按钮样式和交互效果,增强视觉反馈
调整全局字体配置,使用思源黑体作为中文字体
改进各区块卡片样式,增加悬停动画效果
优化响应式设计,提升移动端体验
2026-02-08 16:46:22 +08:00
张翔
f14002559e
feat(e2e-tests): 添加端到端测试框架及测试用例
...
refactor(components): 调整头部和页脚布局样式
style(hero-section): 更新徽章动画效果
docs: 添加测试框架README文档
test: 实现首页、导航和联系表单的测试用例
ci: 添加CI测试脚本和配置
2026-02-02 19:36:33 +08:00
张翔
150024b6ac
build: 更新Next.js配置以支持静态导出并添加新依赖
...
更新next.config.ts文件以支持静态导出功能,并添加了多个新的依赖项到package.json中,包括UI组件库和动画库。同时生成了构建相关的文件和配置。
2026-02-02 17:59:29 +08:00