1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2024-10-27 20:34:29 +00:00
This commit is contained in:
tobspr 2021-06-22 11:22:49 +02:00
parent a2c9b1cbda
commit 6d3faabce5
5 changed files with 37 additions and 4 deletions

View File

@ -230,11 +230,32 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
background: #4cc98a; background: $colorBlueBright;
grid-row: 1 / 2; grid-row: 1 / 2;
grid-column: 2 / 3; grid-column: 2 / 3;
position: relative;
@include S(padding, 20px); @include S(padding, 20px);
@include S(border-radius, $globalBorderRadius); @include S(border-radius, $globalBorderRadius);
> .badge {
color: #fff;
text-transform: uppercase;
font-weight: bold;
position: absolute;
@include S(top, 10px);
@include S(right, 10px);
transform: translateX(50%) rotate(10deg);
@include Heading;
font-weight: bold;
@include InlineAnimation(1.3s ease-in-out infinite) {
50% {
transform: translateX(50%) rotate(12deg) scale(1.1);
}
}
}
> .dlcLogo { > .dlcLogo {
@include S(width, 190px); @include S(width, 190px);
} }

View File

@ -1,11 +1,19 @@
export const CHANGELOG = [ export const CHANGELOG = [
{
version: "1.4.1",
date: "22.06.2021",
entries: [
"The <a href='https://store.steampowered.com/app/1625400/shapezio__Puzzle_DLC/?utm_medium=changelog' target='_blank'>Puzzle DLC</a> is now available on Steam!",
"The <a href='https://store.steampowered.com/app/1573840/shapezio_Soundtrack/?utm_medium=changelog' target='_blank'>Soundtrack</a> is now also available to wishlist and will be released within the next days, including the new music from the Puzzle DLC!",
],
},
{ {
version: "1.4.0", version: "1.4.0",
date: "04.06.2021", date: "04.06.2021",
entries: [ entries: [
"Belts in blueprints should now always paste correctly", "Belts in blueprints should now always paste correctly",
"You can now clear belts by selecting them and then pressing 'B'", "You can now clear belts by selecting them and then pressing 'B'",
"Preparations for the <a href='https://store.steampowered.com/app/1625400/shapezio__Puzzle_DLC/' target='_blank'>Puzzle DLC</a>, coming June 22nd!", "Preparations for the <a href='https://store.steampowered.com/app/1625400/shapezio__Puzzle_DLC/?utm_medium=changelog2' target='_blank'>Puzzle DLC</a>, coming June 22nd!",
], ],
}, },
{ {

View File

@ -108,6 +108,9 @@ export class MainMenuState extends GameState {
!G_WEGAME_VERSION && G_IS_STANDALONE && !puzzleDlc !G_WEGAME_VERSION && G_IS_STANDALONE && !puzzleDlc
? ` ? `
<div class="puzzleContainer notOwned"> <div class="puzzleContainer notOwned">
<span class="badge">
${T.puzzleMenu.categories.new}
</span>
<img class="dlcLogo" src="${cachebust( <img class="dlcLogo" src="${cachebust(
G_CHINA_VERSION || G_WEGAME_VERSION G_CHINA_VERSION || G_WEGAME_VERSION
? "res/puzzle_dlc_logo_china.png" ? "res/puzzle_dlc_logo_china.png"
@ -115,7 +118,7 @@ export class MainMenuState extends GameState {
)}" alt="shapez.io Logo"> )}" alt="shapez.io Logo">
<p>${T.mainMenu.puzzleDlcText}</p> <p>${T.mainMenu.puzzleDlcText}</p>
<button class="styledButton puzzleDlcGetButton">${ <button class="styledButton puzzleDlcGetButton">${
T.mainMenu.puzzleDlcWishlist T.mainMenu.puzzleDlcViewNow
}</button> }</button>
</div>` </div>`
: "" : ""

View File

@ -124,6 +124,7 @@ mainMenu:
Do you enjoy compacting and optimizing factories? Do you enjoy compacting and optimizing factories?
Get the Puzzle DLC now on Steam for even more fun! Get the Puzzle DLC now on Steam for even more fun!
puzzleDlcWishlist: Wishlist now! puzzleDlcWishlist: Wishlist now!
puzzleDlcViewNow: View Dlc
puzzleMenu: puzzleMenu:
play: Play play: Play

View File

@ -1 +1 @@
1.4.0 1.4.1