mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Disable nft until properly announced
This commit is contained in:
@@ -109,16 +109,6 @@ export class MainMenuState extends GameState {
|
||||
${G_CHINA_VERSION ? "" : `<a class="helpTranslate">${T.mainMenu.helpTranslate}</a>`}
|
||||
</div>
|
||||
|
||||
${
|
||||
G_CHINA_VERSION
|
||||
? ""
|
||||
: `
|
||||
<a class="nftLink boxLink" target="_blank">
|
||||
shapez.io NFT Tokens
|
||||
<span class="thirdpartyLogo nftLogo"></span>
|
||||
</a>`
|
||||
}
|
||||
|
||||
|
||||
<div class="author">${T.mainMenu.madeBy.replace(
|
||||
"<author-link>",
|
||||
@@ -262,18 +252,6 @@ export class MainMenuState extends GameState {
|
||||
{ preventClick: true }
|
||||
);
|
||||
|
||||
const nftLink = this.htmlElement.querySelector(".nftLink");
|
||||
if (nftLink) {
|
||||
this.trackClicks(
|
||||
nftLink,
|
||||
() => {
|
||||
this.app.analytics.trackUiClick("main_menu_link_nft");
|
||||
this.app.platformWrapper.openExternalLink(THIRDPARTY_URLS.nftTokens);
|
||||
},
|
||||
{ preventClick: true }
|
||||
);
|
||||
}
|
||||
|
||||
const githubLink = this.htmlElement.querySelector(".githubLink");
|
||||
if (githubLink) {
|
||||
this.trackClicks(
|
||||
|
||||
Reference in New Issue
Block a user