fix: typos
This commit is contained in:
parent
f60b85a1bd
commit
4eee8895ca
Binary file not shown.
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 26 KiB |
Binary file not shown.
Binary file not shown.
@ -11,16 +11,6 @@ export default class extends AbstractView {
|
|||||||
<h1>${lang.get('homeTitle', 'Home')}</h1>
|
<h1>${lang.get('homeTitle', 'Home')}</h1>
|
||||||
<div class="d-flex flex-row" style="justify-content: center">
|
<div class="d-flex flex-row" style="justify-content: center">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
|
||||||
<div class="card" style="width: 25rem;">
|
|
||||||
<img src="/static/js/imgs/morpion.png" class="card-img-top" alt="Screenshot of Pong">
|
|
||||||
<div class="card-body">
|
|
||||||
<h5 class="card-title">${lang.get('homeTicTacToeOffline')}</h5>
|
|
||||||
<p class="card-text">${lang.get('matchmakingPresentation')}</p>
|
|
||||||
<a href="/games/tictactoe/offline" class="btn btn-primary">${lang.get('homeTicTacToeOffline')}</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="card" style="width: 25rem;">
|
<div class="card" style="width: 25rem;">
|
||||||
<img src="/static/js/imgs/morpong.png" class="card-img-top" alt="Screenshot of Pong">
|
<img src="/static/js/imgs/morpong.png" class="card-img-top" alt="Screenshot of Pong">
|
||||||
@ -31,6 +21,16 @@ export default class extends AbstractView {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<div class="card" style="width: 25rem;">
|
||||||
|
<img src="/static/js/imgs/morpion.png" class="card-img-top" alt="Screenshot of Pong">
|
||||||
|
<div class="card-body">
|
||||||
|
<h5 class="card-title">${lang.get('homeTicTacToeOffline')}</h5>
|
||||||
|
<p class="card-text">${lang.get('offlineTicTacToePresentation')}</p>
|
||||||
|
<a href="/games/tictactoe/offline" class="btn btn-primary">${lang.get('homeTicTacToeOffline')}</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="card" style="width: 25rem;">
|
<div class="card" style="width: 25rem;">
|
||||||
<img src="/static/js/imgs/pongee.png" class="card-img-top" alt="Screenshot of Pong">
|
<img src="/static/js/imgs/pongee.png" class="card-img-top" alt="Screenshot of Pong">
|
||||||
|
@ -5,7 +5,7 @@ export class TicTacToeOfflineView extends AbstractView
|
|||||||
{
|
{
|
||||||
constructor(params)
|
constructor(params)
|
||||||
{
|
{
|
||||||
super(params, lang.get('ticTacToe'));
|
super(params, "ticTacToeTitle");
|
||||||
this.width = 510;
|
this.width = 510;
|
||||||
this.height = 510;
|
this.height = 510;
|
||||||
this.morpion = [[],[],[],[],[],[],[],[],[]];
|
this.morpion = [[],[],[],[],[],[],[],[],[]];
|
||||||
@ -237,7 +237,7 @@ export class TicTacToeOfflineView extends AbstractView
|
|||||||
{
|
{
|
||||||
return `
|
return `
|
||||||
<link rel="stylesheet" href="/static/css/tictactoe.css">
|
<link rel="stylesheet" href="/static/css/tictactoe.css">
|
||||||
<h1>${lang.get('ticTacToe')}</h1>
|
<h1>${lang.get('ticTacToeTitle')}</h1>
|
||||||
<div style="display: flex">
|
<div style="display: flex">
|
||||||
<canvas id="Morpion" width="${this.width}" height="${this.height}"></canvas>
|
<canvas id="Morpion" width="${this.width}" height="${this.height}"></canvas>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user