feat: add manual match entry form and match detail pages with diagram

This commit is contained in:
2026-03-31 02:01:35 -07:00
parent e0d159ad8d
commit 141ca7c93e
6 changed files with 1164 additions and 186 deletions
+8 -3
View File
@@ -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"}