import type { ReactNode } from "react"; type GlassFrameProps = { children: ReactNode; className?: string; /** Blur of what sits behind the card, in pixels. */ blur?: number; /** Glass colour. Keep it see-through. */ tint?: string; }; /* GlassFrame: frosted glass over whatever is behind it. A sheen passes across on hover. */ export function GlassFrame({ children, className = "rounded-2xl p-6 text-white", blur = 16, tint = "rgba(255,255,255,0.08)", }: GlassFrameProps) { const filter = `blur(${blur}px) saturate(1.4)`; return (
{children}
); }