Commit Graph

55 Commits

Author SHA1 Message Date
张翔 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
张翔 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
张翔 44bf88b200 feat: add mobile tab bar navigation 2026-02-27 20:26:08 +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
张翔 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
张翔 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
张翔 679d49043d feat: create solutions page with three service modules 2026-02-26 18:44:50 +08:00
张翔 87719f318f fix: await params promise in Next.js 16 2026-02-26 18:38:00 +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
张翔 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
张翔 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
张翔 97f581f08b feat: create product detail page with dynamic routing 2026-02-26 18:02:00 +08:00
张翔 6cc41238fb feat: add contact form API route with email sending 2026-02-26 17:55:13 +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
张翔 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
张翔 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
张翔 37a86bfaf7 feat(perf,ux): implement performance and UX optimizations
Phase 2: Performance Optimizations
- Implement dynamic imports for non-critical sections
- Add loading skeletons for lazy-loaded components
- Optimize bundle size with code splitting
- Enable SSR for dynamic components

Phase 3: UX Optimizations
- Create ErrorBoundary component for graceful error handling
- Add Toast notification component for user feedback
- Implement success/error notifications in contact form
- Add error handling with user-friendly messages

Files modified:
- src/app/(marketing)/page.tsx: Dynamic imports for sections
- src/app/(marketing)/layout.tsx: Error boundary integration
- src/components/sections/contact-section.tsx: Toast notifications
- src/components/ui/error-boundary.tsx: New error boundary component
- src/components/ui/toast.tsx: New toast notification component

Impact:
- Reduced initial bundle size
- Faster page load times
- Better error handling
- Improved user feedback
- Enhanced user experience
2026-02-24 00:44:40 +08:00
张翔 25586a5a6c chore: 更新构建ID和相关文件引用 2026-02-23 10:38:29 +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
张翔 8d0f86c365 fix: 修复 lint 错误
- 修复 Input/Textarea 组件中 React Hook 条件调用问题
- 修复 AboutSection 中的引号转义问题
- 更新 Input/Textarea 样式为医疗健康风格
2026-02-23 08:16:36 +08:00
张翔 9526d12f1e style: 更新配色系统为医疗健康风格
- 专业蓝 #005EB8 为主色调
- 印章红 #C41E3A 为品牌强调色
- 移除深色模式
- 明亮背景风格
- 更新实用类样式
2026-02-23 00:05:12 +08:00
张翔 3b97194e7f feat: 优化容器间距,增加响应式留白
- 移动端:左右各 24px
- 平板端:左右各 48px
- 桌面端:左右各 64px
- 改善大屏幕上的视觉体验
2026-02-22 20:54:17 +08:00
张翔 59cef4fd5f feat: 更新核心配色系统 - 深色/浅色模式
- 更新深色模式配色变量(科技蓝、紫色、印章红)
- 更新浅色模式配色变量
- 添加新的科技色彩变量(悬停、浅色变体)
- 保持品牌色一致性(印章红 #C41E3A)
- 优化背景色系层次(#0A0A0A → #141414 → #1A1A1A)
2026-02-22 14:57:47 +08:00
张翔 15e17a8f20 fix: add light/dark mode support with Tailwind dark: prefix 2026-02-21 23:32:47 +08:00
张翔 1d7872c8cc fix: simplify page to use only existing components 2026-02-21 23:06:56 +08:00
张翔 a92b6199af feat: add tech theme colors and animations to globals.css 2026-02-21 19:43:34 +08:00
张翔 b7e52aa086 perf: add web vitals monitoring and optimize performance 2026-02-13 15:24:51 +08:00
张翔 8175c2f035 feat: add dark mode support with theme toggle 2026-02-13 15:17:42 +08:00
张翔 34c96c119d feat: add case detail pages with SSG and dynamic routing 2026-02-13 14:53:52 +08:00