Compare commits

...

2 Commits

Author SHA1 Message Date
tobspr 04899afba2 Update changelgo 2021-05-14 12:53:45 +02:00
tobspr 936f02a85e Add schoolbreak link 2021-05-14 12:47:19 +02:00
4 changed files with 54 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

View File

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

View File

@ -1,4 +1,11 @@
export const CHANGELOG = [
{
version: "NEW GAME RELEASED",
date: "14.05.2020",
entries: [
'I released a new game, be sure to check it out! It\'s called <a href="https://schoolbreak.io?r=shapez" target="_blank">schoolbreak.io</a>!',
],
},
{
version: "1.3.0",
date: "12.03.2020",

View File

@ -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" : ""}">
${