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