Spaces:
Running
Running
Download components/FeatureCard.jsx from xgriffins/cryptonexus-whirlwind: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/spaces/xgriffins/cryptonexus-whirlwind/resolve/main/components/FeatureCard.jsx
- Command line
-
hf download hf://spaces/xgriffins/cryptonexus-whirlwind/components/FeatureCard.jsx
-
curl -L -o FeatureCard.jsx https://huggingface.co/spaces/xgriffins/cryptonexus-whirlwind/resolve/main/components/FeatureCard.jsx
1.15 kB
| ```jsx | |
| export default function FeatureCard({ icon, title, description, tags }) { | |
| return ( | |
| <div className="feature-hologram bg-dark/80 backdrop-blur-md rounded-2xl p-8 border border-primary/20 hover:border-primary/50 transition-all duration-300 transform hover:-translate-y-2"> | |
| <div className="flex items-start gap-6"> | |
| <div className="relative"> | |
| <div className="h-16 w-16 rounded-xl bg-primary/10 flex items-center justify-center"> | |
| <i data-feather={icon} className="text-primary w-8 h-8"></i> | |
| </div> | |
| <div className="absolute -inset-1 rounded-xl bg-primary/20 blur-lg opacity-0 group-hover:opacity-100 transition-opacity duration-300"></div> | |
| </div> | |
| <div> | |
| <h3 className="text-2xl font-bold text-white mb-3">{title}</h3> | |
| <p className="text-gray-400 mb-4">{description}</p> | |
| <div className="flex flex-wrap gap-2"> | |
| {tags.map((tag, index) => ( | |
| <span key={index} className="px-2.5 py-1 bg-primary/10 text-primary rounded-full text-xs">{tag}</span> | |
| ))} | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| ) | |
| } | |
| ``` |