feat: add manual match entry form and match detail pages with diagram
This commit is contained in:
@@ -251,9 +251,14 @@ export default async function PlayerProfilePage({ params }: PageProps) {
|
||||
return (
|
||||
<tr key={match.id} className="hover:bg-gray-50">
|
||||
<td className="px-6 py-4 whitespace-nowrap text-sm text-gray-900">
|
||||
{match.playedAt
|
||||
? new Date(match.playedAt).toLocaleDateString()
|
||||
: "N/A"}
|
||||
<Link
|
||||
href={`/matches/${match.id}`}
|
||||
className="text-green-600 hover:text-green-900"
|
||||
>
|
||||
{match.playedAt
|
||||
? new Date(match.playedAt).toLocaleDateString()
|
||||
: "N/A"}
|
||||
</Link>
|
||||
</td>
|
||||
<td className="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
|
||||
{match.event?.name || "N/A"}
|
||||
|
||||
Reference in New Issue
Block a user