Function
GlassCard
({
children,
className,
glowColor = "none",
hoverable = true,
onClick,
}: GlassCardProps)
Source from the content-addressed store, hash-verified
| 10 | } |
| 11 | |
| 12 | const GlassCard = ({ |
| 13 | children, |
| 14 | className, |
| 15 | glowColor = "none", |
| 16 | hoverable = true, |
| 17 | onClick, |
| 18 | }: GlassCardProps) => { |
| 19 | return ( |
| 20 | <div |
| 21 | onClick={onClick} |
| 22 | className={cn( |
| 23 | "bg-black border border-white/10 rounded-3xl transition-all duration-300", |
| 24 | hoverable ? "hover:border-purple-500/40 hover:bg-purple-500/5" : "", |
| 25 | className |
| 26 | )} |
| 27 | > |
| 28 | {children} |
| 29 | </div> |
| 30 | ); |
| 31 | }; |
| 32 | |
| 33 | export default GlassCard; |
Callers
nothing calls this directly
Tested by
no test coverage detected