Update favicon and improve loading time

pull/1440/head
tobspr 2 years ago
parent 9d28a1f2f6
commit 96ce442b69

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 KiB

@ -1,18 +1,18 @@
[data-changelog-skin="achievements"] {
background: #f8f8f8;
// [data-changelog-skin="achievements"] {
// background: #f8f8f8;
@include DarkThemeOverride {
background: rgba(0, 10, 20, 0.2);
}
// @include DarkThemeOverride {
// background: rgba(0, 10, 20, 0.2);
// }
@include S(border-radius, 5px);
&::before {
content: " ";
width: 100%;
display: block;
background: uiResource("changelog_skins/achievements.noinline.png") center center / cover no-repeat !important;
@include S(height, 80px);
@include S(border-radius, 5px);
@include S(margin-bottom, 5px);
}
}
// @include S(border-radius, 5px);
// &::before {
// content: " ";
// width: 100%;
// display: block;
// background: uiResource("changelog_skins/achievements.noinline.png") center center / cover no-repeat !important;
// @include S(height, 80px);
// @include S(border-radius, 5px);
// @include S(margin-bottom, 5px);
// }
// }

@ -36,10 +36,9 @@ export function getLogoSprite() {
return "logo.png";
}
const essentialMainMenuSprites = [
getLogoSprite(),
...G_ALL_UI_IMAGES.filter(src => src.startsWith("ui/") && src.indexOf(".gif") < 0),
];
const essentialMainMenuSprites = [getLogoSprite()];
console.warn("UI: ", G_ALL_UI_IMAGES);
const essentialMainMenuSounds = [
SOUNDS.uiClick,
SOUNDS.uiError,

@ -93,12 +93,13 @@ export class ShapezGameAnalytics extends GameAnalyticsInterface {
if (this.app.restrictionMgr.isLimitedVersion()) {
fetch(
"https://play.shapez.io/shapez_launch_" +
"https://analytics.shapez.io/campaign/" +
this.environment +
"_" +
CURRENT_ABT +
"_" +
this.abtVariant,
this.abtVariant +
"?lpurl=nocontent",
{
method: "GET",
mode: "no-cors",

Loading…
Cancel
Save