Spaces:
Build error
Build error
Download components/FeatureCard.jsx from frscrcc/anycoder-6b5a5662: direct link, hf CLI and curl.
- Browser
- Download file 912 Bytes
-
https://huggingface.co/spaces/frscrcc/anycoder-6b5a5662/resolve/main/components/FeatureCard.jsx
- Command line
-
hf download hf://spaces/frscrcc/anycoder-6b5a5662/components/FeatureCard.jsx
-
curl -L -o FeatureCard.jsx https://huggingface.co/spaces/frscrcc/anycoder-6b5a5662/resolve/main/components/FeatureCard.jsx
912 Bytes
| export default function FeatureCard({ icon, title, description }) { | |
| return ( | |
| <div className="card group hover:scale-105 transition-transform duration-300"> | |
| <div className="text-blue-600 text-4xl mb-4 group-hover:scale-110 transition-transform duration-300"> | |
| {icon} | |
| </div> | |
| <h3 className="text-xl font-semibold mb-3 text-gray-900">{title}</h3> | |
| <p className="text-gray-600 leading-relaxed">{description}</p> | |
| <div className="mt-4"> | |
| <button className="text-blue-600 hover:text-blue-700 font-medium inline-flex items-center group-hover:translate-x-1 transition-transform duration-200"> | |
| Learn more | |
| <svg className="ml-2 w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5l7 7-7 7" /> | |
| </svg> | |
| </button> | |
| </div> | |
| </div> | |
| ); | |
| } |