shimanta420 commited on
Commit
9aa08f0
·
verified ·
1 Parent(s): 53d93c9

Upload components/ToolCard.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/ToolCard.js +18 -0
components/ToolCard.js ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ export default function ToolCard({ tool, onClick }) {
2
+ return (
3
+ <div
4
+ onClick={onClick}
5
+ className={`p-6 rounded-lg shadow-md cursor-pointer transition-all hover:shadow-lg ${tool.color}`}
6
+ >
7
+ <div className="flex items-center space-x-4">
8
+ <div className={`p-3 rounded-full ${tool.color.replace('text', 'bg').replace('600', '500/20')}`}>
9
+ {tool.icon}
10
+ </div>
11
+ <h3 className="text-lg font-semibold">{tool.name}</h3>
12
+ </div>
13
+ <p className="mt-2 text-sm text-gray-600">
14
+ {tool.description || 'AI-powered tool to enhance your productivity'}
15
+ </p>
16
+ </div>
17
+ )
18
+ }