feat: add Ship-Class Silhouettes and Red Sunk Markers

This commit is contained in:
2026-08-30 01:24:16 +03:00
parent dfc6b023f7
commit 81d70a7862
7 changed files with 305 additions and 3 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ from pathlib import Path
ROOT = Path(env.subst("$PROJECT_DIR"))
DATA = ROOT / "data"
ASSETS = ("index.html", "styles.css", "app.js")
ASSETS = ("index.html", "styles.css", "app.js", "ship-sprite.svg")
def minify_html(source):
@@ -58,7 +58,7 @@ def compress_assets():
text = minify_html(text)
elif asset.endswith(".css"):
text = minify_css(text)
else:
elif asset.endswith(".js"):
text = minify_js(text)
(DATA / f"{asset}.gz").write_bytes(gzip.compress(text.encode("utf-8"), mtime=0))