import Link from "next/link" import { cn, getFormattedDateFromString } from "@/cosmic/utils" import { Calendar, Clock, Pin } from "lucide-react" export type EventCardType = { id: string title: string slug: string metadata: { description: string location: string start_date: string start_time: string end_date: string end_time: string image: { imgix_url: string } } } export function EventCard({ event, className, }: { event: EventCardType className?: string }) { return (