00Boobs00 commited on
Commit
a9e8099
·
verified ·
1 Parent(s): d239f97

Upload components/FeatureCard.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/FeatureCard.js +25 -0
components/FeatureCard.js ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { Zap, Smartphone, Layers } from 'lucide-react';
2
+
3
+ const iconMap = {
4
+ Zap,
5
+ Smartphone,
6
+ Layers,
7
+ };
8
+
9
+ export default function FeatureCard({ title, description, icon }) {
10
+ const IconComponent = iconMap[icon];
11
+
12
+ return (
13
+ <div className="bg-white dark:bg-gray-800 p-6 rounded-xl shadow-md hover:shadow-xl transition-shadow border border-gray-100 dark:border-gray-700">
14
+ <div className="w-12 h-12 bg-primary-100 dark:bg-primary-900 rounded-lg flex items-center justify-center mb-4 text-primary-600 dark:text-primary-300">
15
+ {IconComponent && <IconComponent size={24} />}
16
+ </div>
17
+ <h3 className="text-xl font-bold text-gray-900 dark:text-white mb-2">
18
+ {title}
19
+ </h3>
20
+ <p className="text-gray-600 dark:text-gray-400">
21
+ {description}
22
+ </p>
23
+ </div>
24
+ );
25
+ }