aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/components/FeatureCard.tsx
diff options
context:
space:
mode:
authorLofiSu <linsu269@gmail.com>2025-01-26 22:34:40 +0800
committerLofiSu <linsu269@gmail.com>2025-01-26 22:34:40 +0800
commitcd8aab3a511091ce378ff7ebcaa42bf979f00882 (patch)
treec387ca55aa6977499b03346ab46e63a0f7c09b36 /src/components/FeatureCard.tsx
parent778f5b627812f6cb487e9236ca5e5261fd2e763c (diff)
downloadHydroRollSite-cd8aab3a511091ce378ff7ebcaa42bf979f00882.tar.gz
HydroRollSite-cd8aab3a511091ce378ff7ebcaa42bf979f00882.zip
refactor: rewrite
Diffstat (limited to 'src/components/FeatureCard.tsx')
-rw-r--r--src/components/FeatureCard.tsx28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/components/FeatureCard.tsx b/src/components/FeatureCard.tsx
deleted file mode 100644
index 5f8a95d..0000000
--- a/src/components/FeatureCard.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import React from 'react';
-import { motion } from 'framer-motion';
-import { Card } from '@nextui-org/react';
-
-interface FeatureCardProps {
- icon: React.ReactNode;
- title: string;
- description: string;
-}
-
-export const FeatureCard: React.FC<FeatureCardProps> = ({ icon, title, description }) => {
- return (
- <motion.div
- whileHover={{ scale: 1.05 }}
- transition={{ type: "spring", stiffness: 300 }}
- >
- <Card className="p-6 bg-gradient-to-br from-gray-800/50 to-gray-900/50 border border-gray-700">
- <div className="flex flex-col items-center text-center">
- <div className="mb-4">
- {icon}
- </div>
- <h3 className="text-xl font-bold mb-2 text-white">{title}</h3>
- <p className="text-gray-400">{description}</p>
- </div>
- </Card>
- </motion.div>
- );
-};