import { LayersIcon, QuoteIcon, TagIcon } from "lucide-react"; export default function ArtworkMetaCard({ gradientColors, altText, description, categories, tags, }: { gradientColors: string; altText?: string | null; description?: string | null; categories: { id: string; name: string }[]; tags: { id: string; name: string }[]; }) { const hasData = Boolean(altText) || Boolean(description) || categories.length > 0 || tags.length > 0; if (!hasData) return null; return (
{altText && (
{altText}
)} {description && (
{description}
)} {categories.length > 0 && (
{categories.map((cat) => (
{/* */} {cat.name} {/* */}
))}
)} {tags.length > 0 && (
{tags.map((tag) => (
{/* */} {tag.name} {/* */}
))}
)}
); }