Update favicon and improve loading time
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 105 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 105 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 479 KiB |
@ -1,18 +1,18 @@
|
|||||||
[data-changelog-skin="achievements"] {
|
// [data-changelog-skin="achievements"] {
|
||||||
background: #f8f8f8;
|
// background: #f8f8f8;
|
||||||
|
|
||||||
@include DarkThemeOverride {
|
// @include DarkThemeOverride {
|
||||||
background: rgba(0, 10, 20, 0.2);
|
// background: rgba(0, 10, 20, 0.2);
|
||||||
}
|
// }
|
||||||
|
|
||||||
@include S(border-radius, 5px);
|
// @include S(border-radius, 5px);
|
||||||
&::before {
|
// &::before {
|
||||||
content: " ";
|
// content: " ";
|
||||||
width: 100%;
|
// width: 100%;
|
||||||
display: block;
|
// display: block;
|
||||||
background: uiResource("changelog_skins/achievements.noinline.png") center center / cover no-repeat !important;
|
// background: uiResource("changelog_skins/achievements.noinline.png") center center / cover no-repeat !important;
|
||||||
@include S(height, 80px);
|
// @include S(height, 80px);
|
||||||
@include S(border-radius, 5px);
|
// @include S(border-radius, 5px);
|
||||||
@include S(margin-bottom, 5px);
|
// @include S(margin-bottom, 5px);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
@ -36,10 +36,9 @@ export function getLogoSprite() {
|
|||||||
return "logo.png";
|
return "logo.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
const essentialMainMenuSprites = [
|
const essentialMainMenuSprites = [getLogoSprite()];
|
||||||
getLogoSprite(),
|
|
||||||
...G_ALL_UI_IMAGES.filter(src => src.startsWith("ui/") && src.indexOf(".gif") < 0),
|
console.warn("UI: ", G_ALL_UI_IMAGES);
|
||||||
];
|
|
||||||
const essentialMainMenuSounds = [
|
const essentialMainMenuSounds = [
|
||||||
SOUNDS.uiClick,
|
SOUNDS.uiClick,
|
||||||
SOUNDS.uiError,
|
SOUNDS.uiError,
|
||||||
|
@ -93,12 +93,13 @@ export class ShapezGameAnalytics extends GameAnalyticsInterface {
|
|||||||
|
|
||||||
if (this.app.restrictionMgr.isLimitedVersion()) {
|
if (this.app.restrictionMgr.isLimitedVersion()) {
|
||||||
fetch(
|
fetch(
|
||||||
"https://play.shapez.io/shapez_launch_" +
|
"https://analytics.shapez.io/campaign/" +
|
||||||
this.environment +
|
this.environment +
|
||||||
"_" +
|
"_" +
|
||||||
CURRENT_ABT +
|
CURRENT_ABT +
|
||||||
"_" +
|
"_" +
|
||||||
this.abtVariant,
|
this.abtVariant +
|
||||||
|
"?lpurl=nocontent",
|
||||||
{
|
{
|
||||||
method: "GET",
|
method: "GET",
|
||||||
mode: "no-cors",
|
mode: "no-cors",
|
||||||
|