Style the title box
This commit is contained in:
parent
c112fa99cf
commit
605c111c73
5 changed files with 82 additions and 24 deletions
|
|
@ -52,6 +52,6 @@ export function renderGameBoardHtml(
|
|||
return boardHtml;
|
||||
}
|
||||
|
||||
export function renderPlayerInfoHtml(gameId: string, playerId: string): string {
|
||||
return `<div id="player-info">You are: ${playerId}<br/>Game ID: ${gameId}</div>`;
|
||||
export function renderTitleBoxHtml(gameId: string, playerId: string): string {
|
||||
return `<div id="title-box">You are: ${playerId}<br/>Game ID: ${gameId}</div>`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue