"use client";
import { motion } from "framer-motion";
import { cn } from "@/lib/utils";
/* ── Base Card ── */
interface CardProps {
children: React.ReactNode;
hover?: boolean;
glass?: boolean;
className?: string;
}
export function Card({ children, hover = true, glass = false, className }: CardProps) {
return (
{children}
);
}
/* ── Image Card ── */
interface ImageCardProps {
src: string;
alt: string;
title: string;
subtitle?: string;
badge?: string;
className?: string;
}
export function ImageCard({ src, alt, title, subtitle, badge, className }: ImageCardProps) {
return (
{badge && (
{badge}
)}
{title}
{subtitle && (
{subtitle}
)}
);
}