Notes for card info

This commit is contained in:
Gavin McDonald
2025-04-23 15:49:32 -04:00
parent 5b21c560d6
commit 0c8d2273ea
3 changed files with 113 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ import { socket } from '@/socket';
import Settings from '@/components/Settings';
import Card from '@/components/Card';
import Notes from '@/components/Notes';
import NotFound from '@/components/NotFound';
import { cardMap, layout } from '@/constants/tarokka';
@@ -105,6 +106,7 @@ export default function GamePage() {
</div>
))}
</div>
{cards.every(({ flipped }) => flipped) && <Notes gameData={gameData} />}
</main>
) : null;
}