MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / EffectCards

Function EffectCards

src/showcase/ui-group/EffectCards.tsx:36–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34]
35
36const EffectCards = () => {
37 return (
38 <div>
39 <div className="grid grid-cols-2 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4">
40 {data.map((item) => (
41 <Link href={item.link} key={item.id}>
42 <Card title={item.title}>
43 {item.image ? (
44 <Image
45 width={200}
46 height={200}
47 src={item.image}
48 alt={item.title}
49 className="h-auto w-[150px] duration-300 ease-in-out group-hover:scale-110"
50 />
51 ) : (
52 item.preview
53 )}
54 </Card>
55 </Link>
56 ))}
57 </div>
58 </div>
59 )
60}
61
62export default EffectCards

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected