// frontend/src/components/Dashboard/DashCard.jsx import { MapPin, SlidersHorizontal, Users } from 'lucide-react'; export default function DashCard({ t, isAdmin, onSelect, onEdit }) { return (
onSelect(t.id)} className="block bg-white dark:bg-zinc-900 p-6 rounded-xl shadow-sm border border-zinc-200 dark:border-zinc-800 relative group hover:shadow-md hover:scale-[1.02] transition-all duration-200 will-change-transform transform-gpu cursor-pointer" >

{t.name}

{t.timestamp ? new Date(t.timestamp).toLocaleDateString() : 'TBD'} {t.timestamp ? new Date(t.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }) : ''}
{t.type}
{t.team_count} Teams
{t.court_count} Courts
{isAdmin && ( )}
); }