diff --git a/index.html b/index.html index 69a7a536e..1e0216af1 100644 --- a/index.html +++ b/index.html @@ -14,19 +14,19 @@ - + - + - + @@ -69,7 +69,7 @@ - {{workspace_alt}} + {{workspace_alt}}
DWG{{native_editing}}
@@ -110,7 +110,7 @@
- {{model_alt}} + {{model_alt}}
{{model_space}}{{model_caption}}
diff --git a/scripts/assemble-site.sh b/scripts/assemble-site.sh index b614e2003..0d1360d2d 100644 --- a/scripts/assemble-site.sh +++ b/scripts/assemble-site.sh @@ -8,7 +8,7 @@ mkdir -p "$output/assets" install -m 0644 site/site.css "$output/site.css" install -m 0644 site/robots.txt "$output/robots.txt" install -m 0644 site/CNAME "$output/CNAME" -install -m 0644 site/og.png "$output/og.png" +install -m 0644 site/workspace.png "$output/og.png" install -m 0644 site/workspace.png "$output/assets/workspace.png" install -m 0644 site/modeling.png "$output/assets/modeling.png" python3 scripts/build-site.py "$output" diff --git a/scripts/build-site.py b/scripts/build-site.py index d3479b889..dc3839e79 100644 --- a/scripts/build-site.py +++ b/scripts/build-site.py @@ -47,6 +47,8 @@ def build(output): return path logo = asset(ROOT / "assets/logo.svg") + workspace = asset(ROOT / "site/workspace.png") + modeling = asset(ROOT / "site/modeling.png") shutil.copyfile(ROOT / "assets/logo.svg", output / "assets/logo.svg") ico = asset(ROOT / "site/favicon.ico") touch = asset(ROOT / "site/apple-touch-icon.png") @@ -86,7 +88,8 @@ def build(output): values = {key: escape(value) for key, value in messages.items()} values.update(locale=locale, direction="rtl" if locale == "ar-SA" else "ltr", path=path, url=BASE + path, og_locale=locale.replace("-", "_"), - logo=logo, icons=icons, css_version=css_version, js_version=js_version, alternates=alternates, + logo=logo, workspace=workspace, modeling=modeling, icons=icons, + css_version=css_version, js_version=js_version, alternates=alternates, languages=escape(messages["languages"].format(count=len(catalogs))), language_links=language_links, schema=json.dumps(schema, ensure_ascii=False).replace("<", "\\u003c")) diff --git a/site/README.md b/site/README.md index b96725a53..59081916d 100644 --- a/site/README.md +++ b/site/README.md @@ -10,5 +10,8 @@ use explicit locale paths and remember manual choices when browser storage is av Arabic uses a right-to-left layout. Icons are exported from `assets/logo.svg`; update the PNG/ICO files in this directory when the logo changes. +`workspace.png` and `modeling.png` are shared by the website and all README languages. +The drawing screenshot also supplies the social preview; website image URLs change with their contents. + GitHub Pages publishes website changes from `main` while building the app from the latest release. Each deployment records both sources separately. diff --git a/site/modeling.png b/site/modeling.png index 869a66611..dc0fbf317 100644 Binary files a/site/modeling.png and b/site/modeling.png differ diff --git a/site/og.png b/site/og.png deleted file mode 100644 index 08ac67e51..000000000 Binary files a/site/og.png and /dev/null differ diff --git a/site/workspace.png b/site/workspace.png index eda63ed4c..1a308b47a 100644 Binary files a/site/workspace.png and b/site/workspace.png differ