Add schoolbreak link

1.3.0-fork
tobspr 3 years ago
parent 27d94bd29c
commit 936f02a85e

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

@ -439,6 +439,41 @@
}
}
.schoolbreakLink {
position: absolute;
@include S(bottom, 40px);
@include S(right, 15px);
display: flex;
flex-direction: column;
align-items: flex-end;
strong {
@include SuperSmallText;
color: #333;
@include DarkThemeInvert;
@include S(margin-bottom, 3px);
}
a {
display: flex;
$scale: 0.2;
@include S(width, 712px * $scale);
@include S(height, 400px * $scale);
@include S(border-radius, 4px);
border: D(2px) solid #222;
cursor: pointer;
&:hover {
transform: scale(1.01);
}
& {
/* @load-async */
background: uiResource("res/ui/main_menu/schoolbreak_io.png") center center / cover no-repeat;
}
}
}
.footer {
display: grid;
flex-grow: 1;

@ -84,6 +84,18 @@ export class MainMenuState extends GameState {
</div>
</div>
${
G_CHINA_VERSION
? ""
: `
<div class="schoolbreakLink">
<strong>Check out my new game!</strong>
<a target="_blank" href="https://schoolbreak.io?r=shapez"></a>
</div>`
}
<div class="footer ${G_CHINA_VERSION ? "china" : ""}">
${

Loading…
Cancel
Save