"use client"; import * as React from "react" import Image from "next/image" import { m } 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 (
{alt}
{badge && ( {badge} )}

{title}

{subtitle && (

{subtitle}

)}
); }