aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/components/FutureCard.tsx
diff options
context:
space:
mode:
authorLofiSu <163713803+LofiSu@users.noreply.github.com>2025-01-26 04:27:57 +0000
committerLofiSu <163713803+LofiSu@users.noreply.github.com>2025-01-26 04:27:57 +0000
commit60f54181d6d5e21d3140953dece51fee7a0d40c5 (patch)
tree6cb9cd1ff43125126f06a09aab95ab7bf108f61d /src/components/FutureCard.tsx
parent2a65ec749b0b1974b757ecf175b3d638d1025aef (diff)
downloadHydroRollSite-60f54181d6d5e21d3140953dece51fee7a0d40c5.tar.gz
HydroRollSite-60f54181d6d5e21d3140953dece51fee7a0d40c5.zip
home components
Diffstat (limited to 'src/components/FutureCard.tsx')
-rw-r--r--src/components/FutureCard.tsx28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/components/FutureCard.tsx b/src/components/FutureCard.tsx
new file mode 100644
index 0000000..5f8a95d
--- /dev/null
+++ b/src/components/FutureCard.tsx
@@ -0,0 +1,28 @@
+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>
+ );
+};