1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2024-10-27 20:34:29 +00:00

Update branding from shapez.io to shapez

This commit is contained in:
tobspr 2022-06-02 12:56:58 +02:00
parent 50e92bb42f
commit 082932bb46
5 changed files with 19 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 20 KiB

BIN
res/logo_demo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -184,18 +184,7 @@
flex-direction: column; flex-direction: column;
@include S(padding-top, 20px); @include S(padding-top, 20px);
img { img {
@include S(width, 350px); @include S(width, 300px);
}
.demoBadge {
@include S(margin, 10px, 0);
@include S(width, 100px);
@include S(height, 30px);
& {
/* @load-async */
background: uiResource("demo_badge.png") center center / contain no-repeat;
}
display: inline-block;
} }
position: relative; position: relative;

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>shapez.io - Build automated factories to build, combine and color shapes!</title> <title>shapez Demo - Factory Automation Game</title>
<!-- mobile stuff --> <!-- mobile stuff -->
<meta name="format-detection" content="telephone=no" /> <meta name="format-detection" content="telephone=no" />
@ -19,16 +19,16 @@
<meta name="author" content="tobspr Games - tobspr.io" /> <meta name="author" content="tobspr Games - tobspr.io" />
<meta <meta
name="description" name="description"
content="shapez.io is an open-source factory building game about combining and producing different types of shapes." content="shapez is a factory automation game about combining and producing different types of shapes. Build, optimize and grow your factory to finally automate everything!"
/> />
<meta <meta
name="keywords" name="keywords"
content="shapes, .io games, factorio, incremental, upgrades, base building, open source" content="shapes, automation, factory, factorio, incremental, upgrades, base building"
/> />
<meta property="og:title" content="shapez.io" /> <meta property="og:title" content="shapez" />
<meta <meta
property="og:description" property="og:description"
content="shapez.io is a fun factory base building game about combining shapes" content="shapez is a fun factory base building game about combining shapes"
/> />
<meta property="og:url" content="https://shapez.io/" /> <meta property="og:url" content="https://shapez.io/" />
<meta property="og:image" content="https://shapez.io/og_thumb.png" /> <meta property="og:image" content="https://shapez.io/og_thumb.png" />

View File

@ -9,13 +9,23 @@ import { SOUNDS, MUSIC } from "../platform/sound";
import { AtlasDefinition, atlasFiles } from "./atlas_definitions"; import { AtlasDefinition, atlasFiles } from "./atlas_definitions";
import { initBuildingCodesAfterResourcesLoaded } from "../game/meta_building_registry"; import { initBuildingCodesAfterResourcesLoaded } from "../game/meta_building_registry";
import { cachebust } from "./cachebust"; import { cachebust } from "./cachebust";
import { MODS } from "../mods/modloader";
const logger = createLogger("background_loader"); const logger = createLogger("background_loader");
export function getLogoSprite() { export function getLogoSprite() {
// @todo: ugh, in a hurry if (G_WEGAME_VERSION) {
return G_WEGAME_VERSION ? "logo_wegame.png" : G_CHINA_VERSION ? "logo_cn.png" : "logo.png"; return "logo_wegame.png";
}
if (G_CHINA_VERSION) {
return "logo_cn.png";
}
if (G_IS_BROWSER) {
return "logo_demo.png";
}
return "logo.png";
} }
const essentialMainMenuSprites = [ const essentialMainMenuSprites = [