mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-06 17:44:33 +00:00
Fix lighthouse issues
This commit is contained in:
parent
aae4395111
commit
0d6bdd9bfb
@ -90,12 +90,12 @@ export class MainMenuState extends GameState {
|
|||||||
<div class="topButtons">
|
<div class="topButtons">
|
||||||
${
|
${
|
||||||
showLanguageIcon
|
showLanguageIcon
|
||||||
? `<button class="languageChoose" data-languageicon="${this.app.settings.getLanguage()}"></button>`
|
? `<button aria-label="Choose Language" class="languageChoose" data-languageicon="${this.app.settings.getLanguage()}"></button>`
|
||||||
: ""
|
: ""
|
||||||
}
|
}
|
||||||
|
|
||||||
<button class="settingsButton"></button>
|
<button class="settingsButton" aria-label="Settings"></button>
|
||||||
${showExitAppButton ? `<button class="exitAppButton"></button>` : ""}
|
${showExitAppButton ? `<button class="exitAppButton" aria-label="Exit App"></button>` : ""}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<video autoplay muted loop class="fullscreenBackgroundVideo">
|
<video autoplay muted loop class="fullscreenBackgroundVideo">
|
||||||
@ -229,8 +229,8 @@ export class MainMenuState extends GameState {
|
|||||||
|
|
||||||
${showExternalLinks ? `<a class="helpTranslate">${T.mainMenu.helpTranslate}</a>` : ""}
|
${showExternalLinks ? `<a class="helpTranslate">${T.mainMenu.helpTranslate}</a>` : ""}
|
||||||
</div>
|
</div>
|
||||||
<div class="author"><a class="producerLink" target="_blank" title="tobspr Games" rel="follow">
|
<div class="author"><a class="producerLink" href="https://tobspr.io" target="_blank" title="tobspr Games" rel="follow">
|
||||||
<img src="${cachebust("res/logo-tobspr-games.svg")}">
|
<img src="${cachebust("res/logo-tobspr-games.svg")}" alt="tobspr Games">
|
||||||
</a></div>
|
</a></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -357,7 +357,6 @@ export class MainMenuState extends GameState {
|
|||||||
".githubLink": () => {
|
".githubLink": () => {
|
||||||
this.app.platformWrapper.openExternalLink(THIRDPARTY_URLS.github);
|
this.app.platformWrapper.openExternalLink(THIRDPARTY_URLS.github);
|
||||||
},
|
},
|
||||||
".producerLink": () => this.app.platformWrapper.openExternalLink("https://tobspr.io"),
|
|
||||||
".puzzleDlcPlayButton": this.onPuzzleModeButtonClicked,
|
".puzzleDlcPlayButton": this.onPuzzleModeButtonClicked,
|
||||||
".puzzleDlcGetButton": this.onPuzzleWishlistButtonClicked,
|
".puzzleDlcGetButton": this.onPuzzleWishlistButtonClicked,
|
||||||
".wegameDisclaimer > .rating": this.onWegameRatingClicked,
|
".wegameDisclaimer > .rating": this.onWegameRatingClicked,
|
||||||
|
Loading…
Reference in New Issue
Block a user