张翔
|
331faa5767
|
feat: extend services data structure with detailed information
|
2026-02-26 17:57:46 +08:00 |
|
张翔
|
99e9c874b0
|
feat: add email templates for contact form
|
2026-02-26 17:54:32 +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 |
|
张翔
|
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 |
|
张翔
|
4f9cfffdad
|
fix: 修复导航栏 active 状态错误
- NAVIGATION 数组顺序调整为与页面 Section 顺序一致
- 顺序: home → services → products → about → news → contact
|
2026-02-23 08:21:36 +08:00 |
|
张翔
|
afdd7a5456
|
refactor: 更新渐变定义为医疗健康风格
|
2026-02-23 00:07:08 +08:00 |
|
张翔
|
83bed14292
|
refactor: 更新 colors.ts 配色定义为医疗健康风格
|
2026-02-23 00:06:15 +08:00 |
|
张翔
|
5852e2a799
|
feat: 添加渐变色工具函数
- 创建渐变色样式生成函数
- 创建光晕效果生成函数
- 创建文字渐变效果函数
- 支持蓝色和紫色光晕
|
2026-02-22 15:04:25 +08:00 |
|
张翔
|
f88020ee5e
|
feat: 更新色彩系统定义并修复组件类型
- 添加科技蓝、紫色、青色色彩系列
- 更新中性色系列
- 添加渐变色定义
- 创建 GlassCard 组件支持 variant 属性
- 更新 Input 组件支持 label 和 error 属性
- 更新 Textarea 组件支持 label 和 error 属性
- 安装 @radix-ui/react-dialog 依赖
|
2026-02-22 15:03:10 +08:00 |
|
张翔
|
7f9aad4965
|
feat: add theme constants and animation variants
|
2026-02-21 20:02:00 +08:00 |
|
张翔
|
5a93fbb047
|
feat: add utility functions for formatting and animation
|
2026-02-21 19:58:50 +08:00 |
|
张翔
|
2b74a83e72
|
feat: 添加核心工具函数、颜色配置和常量数据
style: 优化.gitignore文件结构
test: 添加导航测试用例
docs: 删除旧版网站重设计文档
chore: 更新浏览器配置和设置管理
|
2026-02-21 18:52:48 +08:00 |
|