Disable nft until properly announced

pull/1096/head
tobspr 3 years ago
parent 89b99c74ce
commit 38bb393190

@ -445,13 +445,13 @@
justify-content: center;
align-items: flex-end;
width: 100%;
grid-template-columns: auto auto auto auto 1fr;
grid-template-columns: auto auto auto 1fr;
@include S(padding, 10px);
box-sizing: border-box;
@include S(grid-gap, 4px);
&.china {
grid-template-columns: auto auto 1fr;
grid-template-columns: auto 1fr;
}
.author {
@ -501,15 +501,6 @@
background-color: $linkBgHover;
}
&.nftLink {
background-color: #3291e9;
color: #fff;
&:hover {
background-color: darken(#3291e9, 5);
}
}
.thirdpartyLogo {
display: inline-block;
@include S(width, 50px);
@ -524,12 +515,6 @@
background-image: uiResource("main_menu/discord.png");
background-size: 95%;
}
&.nftLogo {
/* @load-async */
background-image: uiResource("main_menu/opensea.png");
background-size: 80%;
}
}
}

@ -16,7 +16,6 @@ export const THIRDPARTY_URLS = {
github: "https://github.com/tobspr/shapez.io",
reddit: "https://www.reddit.com/r/shapezio",
shapeViewer: "https://viewer.shapez.io",
nftTokens: "https://opensea.io/collection/shapez",
standaloneStorePage: "https://store.steampowered.com/app/1318690/shapezio/",

@ -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(

Loading…
Cancel
Save