()
| 56 | ] |
| 57 | |
| 58 | const ComponentCards = () => { |
| 59 | return ( |
| 60 | <div> |
| 61 | <div className="grid grid-cols-2 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4"> |
| 62 | {data.map((item, index) => ( |
| 63 | <Link href={item.link} key={index} className="no-underline"> |
| 64 | <Card title={item.title}> |
| 65 | {item.image ? ( |
| 66 | <Image |
| 67 | width={200} |
| 68 | height={200} |
| 69 | src={item.image} |
| 70 | alt={item.title} |
| 71 | className="h-auto w-[150px] duration-300 ease-in-out group-hover:scale-110 md:w-[200px]" |
| 72 | /> |
| 73 | ) : item.component ? ( |
| 74 | item.component |
| 75 | ) : null} |
| 76 | </Card> |
| 77 | </Link> |
| 78 | ))} |
| 79 | </div> |
| 80 | </div> |
| 81 | ) |
| 82 | } |
| 83 | |
| 84 | export default ComponentCards |
nothing calls this directly
no outgoing calls
no test coverage detected