refactor(Home): 迁移毛玻璃效果到统一配置

- FeatureCard.tsx: 使用 GLASS_BLUR.sm 替代 blur(10px)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-26 11:30:40 +08:00
parent 5eeb4f9e15
commit 1754ec7440

View File

@@ -14,6 +14,7 @@ import {
Button
} from '@chakra-ui/react';
import type { Feature, FeatureClickHandler } from '@/types/home';
import { GLASS_BLUR } from '@/constants/glassConfig';
interface FeatureCardProps {
feature: Feature;
@@ -31,7 +32,7 @@ export const FeatureCard: React.FC<FeatureCardProps> = ({
return (
<Card
bg="whiteAlpha.100"
backdropFilter="blur(10px)"
backdropFilter={GLASS_BLUR.sm}
border="1px solid"
borderColor="whiteAlpha.200"
borderRadius={{ base: 'lg', md: 'xl' }}