张翔
|
dd0878a7a4
|
fix: rename news dynamic route parameter from id to slug
|
2026-02-26 18:20:00 +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 |
|
张翔
|
a75673fa27
|
refactor(hero-section): 移除未使用的动画导入并优化样式类名
删除未使用的动画组件导入(FadeUp, StaggerContainer等)
将min-w-[180px]替换为更简洁的min-w-45
调整背景渐变类名从bg-gradient-to-b到bg-linear-to-b
|
2026-02-23 21:19:54 +08:00 |
|
张翔
|
e862a68ef0
|
chore: 更新构建ID和相关文件引用
|
2026-02-23 21:19:44 +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 |
|
张翔
|
9e7fb20d2a
|
style: 修复 hero-section Tailwind CSS 类名警告
- bg-gradient-to-b → bg-linear-to-b
- w-[800px] → w-200
- h-[600px] → h-150
- w-[600px] → w-150
- h-[400px] → h-100
- min-w-[180px] → min-w-45 (2处)~
|
2026-02-23 08:35:16 +08:00 |
|
张翔
|
83ea4572fe
|
refactor: 重构 HeroSection 为医疗健康风格
- 浅蓝渐变背景
- 专业蓝主色调
- 印章红数据强调
- 移除深色背景和科技感粒子效果
|
2026-02-23 08:07:24 +08:00 |
|
张翔
|
6dcbde28bc
|
feat: 更新 Hero 区域样式
- 统一使用 CSS 变量
- 增强背景发光效果
- 优化文字颜色层级
- 移除未使用的图标导入
- 统一深色模式样式
|
2026-02-22 15:18:19 +08:00 |
|
张翔
|
15e17a8f20
|
fix: add light/dark mode support with Tailwind dark: prefix
|
2026-02-21 23:32:47 +08:00 |
|
张翔
|
554011f0e7
|
feat: redesign hero section with dark tech theme and framer-motion
|
2026-02-21 22:58:09 +08:00 |
|
张翔
|
249da50335
|
feat: integrate enhanced seal animation in hero section
|
2026-02-13 14:03:07 +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 |
|