Commit Graph

124 Commits

Author SHA1 Message Date
张翔 0c7a7f5b05 fix: update mobile menu tests to use mobile viewport 2026-02-27 11:10:00 +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
张翔 702b3296bc refactor: update footer links to use page navigation 2026-02-26 21:28:47 +08:00
张翔 8cb5b7659f feat: add products list page 2026-02-26 21:27:49 +08:00
张翔 2b08a536eb refactor: update navigation to use independent page links 2026-02-26 21:27:19 +08:00
张翔 cb512bb13a refactor: update homepage section order with cases section 2026-02-26 21:26:26 +08:00
张翔 f0e147eba8 feat: add cases section to homepage 2026-02-26 21:25:59 +08:00
张翔 b468415e54 refactor: simplify about section on homepage 2026-02-26 21:25:31 +08:00
张翔 1e1c68670b refactor: remove service detail modal component 2026-02-26 21:24:59 +08:00
张翔 686a02b233 refactor: remove modal, add link navigation for services 2026-02-26 21:24:38 +08:00
张翔 bbd3930e7f feat: add services list page 2026-02-26 21:23:45 +08:00
张翔 474e21507a feat: add service detail page with storytelling style 2026-02-26 21:23:17 +08:00
张翔 010fa4a025 docs: add website optimization design and implementation plan 2026-02-26 19:41:31 +08:00
张翔 93f9bca2e4 fix: convert solutions and cases pages to client components 2026-02-26 18:50:24 +08:00
张翔 712f8572ab feat: create cases page with new content structure 2026-02-26 18:48:13 +08:00
张翔 ac4f228b04 feat: update navigation to link to solutions page 2026-02-26 18:46:17 +08:00
张翔 679d49043d feat: create solutions page with three service modules 2026-02-26 18:44:50 +08:00
张翔 2595d27221 fix: remove outline button default hover to enable group-hover 2026-02-26 18:40:19 +08:00
张翔 87719f318f fix: await params promise in Next.js 16 2026-02-26 18:38:00 +08:00
张翔 1c5ec4d663 fix: improve button hover contrast for better readability 2026-02-26 18:37:31 +08:00
张翔 b7fad4c381 feat: add dialog component from Radix UI 2026-02-26 18:23:30 +08:00
张翔 959c7aabea fix: remove duplicate routes from (marketing) group 2026-02-26 18:22:43 +08:00
张翔 dd0878a7a4 fix: rename news dynamic route parameter from id to slug 2026-02-26 18:20:00 +08:00
张翔 19b06de1a7 feat: add links to privacy policy and terms of service 2026-02-26 18:08:19 +08:00
张翔 399445ef00 feat: create terms of service page 2026-02-26 18:07:43 +08:00
张翔 4893868422 feat: create privacy policy page 2026-02-26 18:06:23 +08:00
张翔 c845fbbd85 feat: add link to news list page 2026-02-26 18:05:27 +08:00
张翔 bc936328dd feat: create news detail page with related news 2026-02-26 18:04:18 +08:00
张翔 3138d62afc feat: create news list page with filtering and search 2026-02-26 18:03:44 +08:00
张翔 9cdd554454 feat: add links to product detail pages 2026-02-26 18:02:54 +08:00
张翔 97f581f08b feat: create product detail page with dynamic routing 2026-02-26 18:02:00 +08:00
张翔 ecfe72355e feat: extend products data structure with detailed information 2026-02-26 18:01:06 +08:00
张翔 424c437bdf feat: integrate service detail modal with service cards 2026-02-26 18:00:01 +08:00
张翔 abf23c7a8c feat: create service detail modal component 2026-02-26 17:58:59 +08:00
张翔 331faa5767 feat: extend services data structure with detailed information 2026-02-26 17:57:46 +08:00
张翔 c174370e60 feat: integrate contact form with API 2026-02-26 17:56:25 +08:00
张翔 87a0620670 feat: add environment variable configuration 2026-02-26 17:55:48 +08:00
张翔 6cc41238fb feat: add contact form API route with email sending 2026-02-26 17:55:13 +08:00
张翔 99e9c874b0 feat: add email templates for contact form 2026-02-26 17:54:32 +08:00
张翔 3de9890fc4 fix: 修复TypeScript类型错误
- 移除未使用的导入
- 修复产品详情页面的description类型错误
- 修复服务详情页面的description类型错误
- 修复联系表单API的类型错误
- 添加Award图标的导入
2026-02-26 16:26:40 +08:00
张翔 e4cf4836dd feat: 创建详情页面和法律页面
- 创建产品详情页面组件,支持技术架构、应用场景、客户案例展示
- 创建服务详情页面组件,支持服务内容、流程、优势展示
- 创建隐私政策页面,符合中国法律要求
- 创建服务条款页面,规范用户服务协议
2026-02-26 16:22:49 +08:00
张翔 ee88d5e9be feat: 扩展PRODUCTS和SERVICES数据结构
- 为PRODUCTS添加fullDescription、technicalArchitecture、scenarios、cases字段
- 为SERVICES添加fullDescription、content、advantages、relatedServices字段
- 完善产品和服务的详细信息展示,支持技术架构、应用场景、客户案例等
2026-02-26 16:19:32 +08:00
张翔 7f450dff87 refactor(products): 更新产品列表和描述信息
移除物联网和AI产品,新增内容管理系统
更新产品页面描述和联系按钮滚动功能
2026-02-26 15:52:04 +08:00
张翔 fecbfd1990 feat: 添加预览效果页面并优化交互效果
refactor: 优化代码健壮性和类型安全

style: 更新字体样式和全局CSS

fix: 修复IntersectionObserver潜在空引用问题

chore: 更新依赖和ESLint配置

build: 更新构建ID和路由配置
2026-02-24 10:24:05 +08:00
张翔 64165c4499 feat(security,quality): implement security and code quality optimizations
Phase 6: Security Optimizations
- Install DOMPurify for XSS protection
- Create sanitize utilities (HTML, input, URL, escape)
- Implement input sanitization in contact form
- Add CSRF token generation and validation
- Integrate CSRF protection in form submissions

Phase 7: Code Quality Optimizations
- Enhance TypeScript strict mode configuration
- Add noUncheckedIndexedAccess for safer array access
- Enable noImplicitReturns and noFallthroughCasesInSwitch
- Add noUnusedLocals and noUnusedParameters
- Enable exactOptionalPropertyTypes for precise types
- Configure comprehensive ESLint rules
- Add React security rules (no-unescaped-entities, jsx-no-target-blank)
- Add TypeScript best practices rules
- Add code quality rules (prefer-const, eqeqeq, curly)

Files modified:
- package.json: Add DOMPurify dependency
- src/lib/sanitize.ts: New sanitization utilities
- src/lib/csrf.ts: New CSRF protection utilities
- src/components/sections/contact-section.tsx: Security integration
- tsconfig.json: Enhanced TypeScript configuration
- eslint.config.mjs: Comprehensive ESLint rules

Impact:
- XSS attack prevention
- CSRF attack prevention
- Better type safety
- Improved code quality
- Financial-grade security standards
2026-02-24 07:08:39 +08:00
张翔 81d4f21a7d feat(responsive,seo): implement responsive design and SEO optimizations
Phase 4: Responsive Design Optimizations
- Increase touch target sizes to min 44px for mobile
- Add touch-manipulation for better touch handling
- Optimize button and input sizes for mobile devices
- Implement responsive font sizing (16px -> 17px -> 18px)

Phase 5: SEO Optimizations
- Enhance metadata with comprehensive Open Graph tags
- Add Twitter Card metadata with images
- Implement Google Search Console verification
- Add structured data (Organization, Website schemas)
- Improve keywords and descriptions

Files modified:
- src/components/ui/button.tsx: Touch-friendly sizes
- src/components/ui/input.tsx: Mobile-optimized inputs
- src/app/globals.css: Responsive font sizing
- src/app/layout.tsx: Enhanced metadata and structured data
- src/components/seo/structured-data.tsx: New structured data components

Impact:
- Better mobile user experience
- Improved search engine visibility
- Enhanced social media sharing
- WCAG 2.1 touch target compliance
- Better SEO performance
2026-02-24 00:48:42 +08:00