Spaces:
Sleeping
Sleeping
File size: 638 Bytes
9e7f815 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import { ReactNode } from 'react';
import { cn } from '../utils/cn';
interface GlassCardProps {
children: ReactNode;
className?: string;
}
export default function GlassCard({ children, className }: GlassCardProps) {
return (
<div className={cn("bg-zinc-950/40 border border-white/5 backdrop-blur-xl rounded-xl shadow-[0_8px_32px_-8px_rgba(0,0,0,0.8)] relative overflow-hidden group", className)}>
{/* Organic Glow Edge */}
<div className="absolute inset-0 border border-teal-500/10 rounded-xl pointer-events-none group-hover:border-teal-500/30 transition-colors duration-500" />
{children}
</div>
);
}
|