张翔
|
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 |
|
张翔
|
dea94b9955
|
feat: update contact form client with captcha support
|
2026-03-24 11:21: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 |
|
张翔
|
0222f20a19
|
feat: add data-testid attributes for form elements to improve testability
|
2026-03-06 17:45:41 +08:00 |
|
张翔
|
1bdb95b5b6
|
feat: optimize mobile form input experience
|
2026-02-27 20:27:17 +08:00 |
|
张翔
|
c174370e60
|
feat: integrate contact form with API
|
2026-02-26 17:56:25 +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 |
|
张翔
|
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 |
|
张翔
|
44ba75e4d1
|
feat(components): 添加鼠标交互粒子效果和高级浮动效果组件
refactor(sections): 移除各区块的多余标签元素
style(contact-section): 优化联系表单布局和动画效果
|
2026-02-23 22:48:32 +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 |
|
张翔
|
ef4b6d1022
|
refactor: 重构所有 Section 组件为医疗健康风格
- ProductsSection: 浅灰背景、蓝红配色
- AboutSection: 白色背景、专业蓝图标
- NewsSection: 浅灰背景、蓝红强调
- ContactSection: 白色背景、蓝图标、红强调
|
2026-02-23 08:11:11 +08:00 |
|
张翔
|
15e17a8f20
|
fix: add light/dark mode support with Tailwind dark: prefix
|
2026-02-21 23:32:47 +08:00 |
|
张翔
|
e829451fa3
|
fix: resolve TypeScript errors for Zod v4 API changes
|
2026-02-13 14:31:21 +08:00 |
|
张翔
|
6737cbd579
|
feat: add form validation to contact section with Zod
|
2026-02-13 14:19:30 +08:00 |
|
张翔
|
522f1e09a7
|
feat: 重构网站UI设计并优化布局结构
重构整体UI设计,采用红色主题配色方案
优化页面布局结构,将Header和Footer移至page组件
更新按钮样式和交互效果,增强视觉反馈
调整全局字体配置,使用思源黑体作为中文字体
改进各区块卡片样式,增加悬停动画效果
优化响应式设计,提升移动端体验
|
2026-02-08 16:46:22 +08:00 |
|
张翔
|
cc55146ba6
|
feat(contact-section): 更新联系方式卡片为服务承诺卡片
将联系方式卡片重新设计为服务承诺卡片,展示专业响应、免费咨询和定制方案等优势
更新卡片样式和图标,使用更友好的视觉设计
保持工作时间卡片和消息发送卡片的基本布局
|
2026-02-03 08:02:09 +08:00 |
|
张翔
|
150024b6ac
|
build: 更新Next.js配置以支持静态导出并添加新依赖
更新next.config.ts文件以支持静态导出功能,并添加了多个新的依赖项到package.json中,包括UI组件库和动画库。同时生成了构建相关的文件和配置。
|
2026-02-02 17:59:29 +08:00 |
|