import { MapPin, Calendar, ArrowRight } from 'lucide-react'; import { Link } from 'react-router-dom'; interface EventCardProps { id: string; title: string; image: string; date: string; location: string; price: string; organizer: string; status?: string; isAvailable?: boolean; } export default function EventCard({ id, title, image, date, location, price, organizer, status = "ON SALE", isAvailable = true, }: EventCardProps) { return (
{/* Image Container */}
{title} {/* Status Badge */}
{status}
{/* Content Container */}

{title}

{location}
{date}
{/* Footer Area */}

START FROM

{isAvailable ? (

{price}

) : (

Habis

)}

BY: {organizer}

{isAvailable ? ( BELI TIKET ) : ( )}
); }