Spaces:
Running
Running
Download src/components/GlassCard.tsx from sitcod3/BRIDGE_Modul-S_prod: direct link, hf CLI and curl.
- Browser
- Download file 638 Bytes
-
https://huggingface.co/spaces/sitcod3/BRIDGE_Modul-S_prod/resolve/main/src/components/GlassCard.tsx
- Command line
-
hf download hf://spaces/sitcod3/BRIDGE_Modul-S_prod/src/components/GlassCard.tsx
-
curl -L -o GlassCard.tsx https://huggingface.co/spaces/sitcod3/BRIDGE_Modul-S_prod/resolve/main/src/components/GlassCard.tsx
638 Bytes
| 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> | |
| ); | |
| } | |