import React from 'react'; import Link from 'next/link'; import { Card, CardContent } from '@/components/ui/card'; interface CollectionImage { url: string; altText?: string; } interface Collection { id: string; title: string; handle: string; description?: string; image?: CollectionImage; } interface CollectionCardProps { collection: Collection; } const CollectionCard: React.FC = ({ collection }) => { return (
{/* Collection Image */}
{collection.image ? ( {collection.image.altText ) : (
COLLECTION
)}
{/* Collection Info */}

{collection.title}

{collection.description && (

{collection.description}

)}
EXPLORE COLLECTION
); }; export default CollectionCard;