mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-07 01:54:10 +00:00
Disable nft until properly announced
This commit is contained in:
parent
89b99c74ce
commit
38bb393190
@ -445,13 +445,13 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
grid-template-columns: auto auto auto auto 1fr;
|
grid-template-columns: auto auto auto 1fr;
|
||||||
@include S(padding, 10px);
|
@include S(padding, 10px);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@include S(grid-gap, 4px);
|
@include S(grid-gap, 4px);
|
||||||
|
|
||||||
&.china {
|
&.china {
|
||||||
grid-template-columns: auto auto 1fr;
|
grid-template-columns: auto 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.author {
|
.author {
|
||||||
@ -501,15 +501,6 @@
|
|||||||
background-color: $linkBgHover;
|
background-color: $linkBgHover;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.nftLink {
|
|
||||||
background-color: #3291e9;
|
|
||||||
color: #fff;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: darken(#3291e9, 5);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.thirdpartyLogo {
|
.thirdpartyLogo {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@include S(width, 50px);
|
@include S(width, 50px);
|
||||||
@ -524,12 +515,6 @@
|
|||||||
background-image: uiResource("main_menu/discord.png");
|
background-image: uiResource("main_menu/discord.png");
|
||||||
background-size: 95%;
|
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",
|
github: "https://github.com/tobspr/shapez.io",
|
||||||
reddit: "https://www.reddit.com/r/shapezio",
|
reddit: "https://www.reddit.com/r/shapezio",
|
||||||
shapeViewer: "https://viewer.shapez.io",
|
shapeViewer: "https://viewer.shapez.io",
|
||||||
nftTokens: "https://opensea.io/collection/shapez",
|
|
||||||
|
|
||||||
standaloneStorePage: "https://store.steampowered.com/app/1318690/shapezio/",
|
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>`}
|
${G_CHINA_VERSION ? "" : `<a class="helpTranslate">${T.mainMenu.helpTranslate}</a>`}
|
||||||
</div>
|
</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(
|
<div class="author">${T.mainMenu.madeBy.replace(
|
||||||
"<author-link>",
|
"<author-link>",
|
||||||
@ -262,18 +252,6 @@ export class MainMenuState extends GameState {
|
|||||||
{ preventClick: true }
|
{ 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");
|
const githubLink = this.htmlElement.querySelector(".githubLink");
|
||||||
if (githubLink) {
|
if (githubLink) {
|
||||||
this.trackClicks(
|
this.trackClicks(
|
||||||
|
Loading…
Reference in New Issue
Block a user