()
| 37 | ] |
| 38 | |
| 39 | const BlockCards = () => { |
| 40 | return ( |
| 41 | <div> |
| 42 | <div className="grid grid-cols-2 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4"> |
| 43 | {data.map((item, index) => ( |
| 44 | <Link href={item.link} key={index} className="no-underline"> |
| 45 | <Card title={item.title}> |
| 46 | {item.image ? ( |
| 47 | <Image |
| 48 | width={200} |
| 49 | height={200} |
| 50 | src={item.image} |
| 51 | alt={item.title} |
| 52 | className="h-auto w-[150px] duration-300 ease-in-out group-hover:scale-110 md:w-[200px]" |
| 53 | /> |
| 54 | ) : item.component ? ( |
| 55 | item.component |
| 56 | ) : null} |
| 57 | </Card> |
| 58 | </Link> |
| 59 | ))} |
| 60 | </div> |
| 61 | </div> |
| 62 | ) |
| 63 | } |
| 64 | |
| 65 | export default BlockCards |
nothing calls this directly
no outgoing calls
no test coverage detected