feat: move hints column to the left of the game grid

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
thibaud-leclere
2026-03-30 21:33:40 +02:00
parent 1f80b554fd
commit 86bf2eb1d3

View File

@@ -17,6 +17,9 @@ export default function GameRow({ actorName, pos, colStart, totalWidth }) {
return ( return (
<tr> <tr>
<td>
<ActorPopover actorName={actorName} />
</td>
{Array.from({ length: totalWidth + 1 }, (_, colIndex) => { {Array.from({ length: totalWidth + 1 }, (_, colIndex) => {
const charIndex = colIndex - colStart; const charIndex = colIndex - colStart;
const isInRange = charIndex >= 0 && charIndex < letters.length; const isInRange = charIndex >= 0 && charIndex < letters.length;
@@ -35,9 +38,6 @@ export default function GameRow({ actorName, pos, colStart, totalWidth }) {
/> />
); );
})} })}
<td>
<ActorPopover actorName={actorName} />
</td>
</tr> </tr>
); );
} }