import { ReactNode } from 'react'; import { cn } from '../../utils'; interface CardProps { children: ReactNode; className?: string; variant?: 'default' | 'glass' | 'bordered'; padding?: 'none' | 'sm' | 'md' | 'lg'; } export function Card({ children, className, variant = 'default', padding = 'md' }: CardProps) { const baseClasses = 'rounded-xl'; const variants = { default: 'bg-white dark:bg-gray-900 shadow-sm border border-gray-200 dark:border-gray-800', glass: 'glass-card', bordered: 'border-2 border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-900', }; const paddings = { none: '', sm: 'p-4', md: 'p-6', lg: 'p-8', }; return (
{children}
); } interface CardHeaderProps { children: ReactNode; className?: string; } export function CardHeader({ children, className }: CardHeaderProps) { return (
{children}
); } interface CardTitleProps { children: ReactNode; className?: string; } export function CardTitle({ children, className }: CardTitleProps) { return (

{children}

); } interface CardContentProps { children: ReactNode; className?: string; } export function CardContent({ children, className }: CardContentProps) { return (
{children}
); }