import * as React from "react" import { Card as ShadcnCard, CardContent, CardHeader, } from "@/components/ui/card" import { Badge } from "@/components/ui/badge" import { cn } from "@/lib/utils" import { Image } from "./Image" import { Typography } from "./Typography" export interface CardProps extends React.ComponentProps { image?: string title?: string subtitle?: string tags?: string[] } function Card({ image, title, subtitle, tags, className, ...props }: CardProps) { return ( {image ? ( {title ) : null} {title ? : null} {subtitle ? ( ) : null} {tags && tags.length > 0 ? ( {tags.map((tag, index) => ( {tag} ))} ) : null} ) } export { Card }