diff --git a/scripts/build-site.sh b/scripts/build-site.sh index 932dca8..39c8338 100755 --- a/scripts/build-site.sh +++ b/scripts/build-site.sh @@ -47,7 +47,7 @@ copy_file assets/projects/chatgpt-usage-v030.webp assets/projects/chatgpt-usage- copy_file assets/projects/nemo-action-bar.webp assets/projects/nemo-action-bar.webp copy_file assets/scripts/reactive-field.js assets/scripts/reactive-field.js copy_file assets/social/oss-singularity-social-preview.png assets/social/oss-singularity-social-preview.png -copy_file assets/styles/site-v0.css assets/styles/site-v0.css +copy_file assets/styles/site-v1.css assets/styles/site-v1.css ( cd "$output" diff --git a/scripts/check-site.py b/scripts/check-site.py index 2e31d1d..1f8e96d 100755 --- a/scripts/check-site.py +++ b/scripts/check-site.py @@ -79,7 +79,7 @@ def main() -> int: "assets/projects/pdrive-control-center-v080.webp", "assets/scripts/reactive-field.js", "assets/social/oss-singularity-social-preview.png", - "assets/styles/site-v0.css", + "assets/styles/site-v1.css", } actual = {str(path.relative_to(root)) for path in root.rglob("*") if path.is_file()} if actual != required: @@ -143,7 +143,7 @@ def main() -> int: if html_bytes > 35_000: fail(f"HTML budget exceeded: {html_bytes} bytes") - css_bytes = (root / "assets/styles/site-v0.css").stat().st_size + css_bytes = (root / "assets/styles/site-v1.css").stat().st_size if css_bytes > 40_000: fail(f"CSS budget exceeded: {css_bytes} bytes") script_bytes = (root / "assets/scripts/reactive-field.js").stat().st_size diff --git a/site/404.html b/site/404.html index 424ca7b..b539f50 100644 --- a/site/404.html +++ b/site/404.html @@ -8,7 +8,7 @@ - + diff --git a/site/assets/styles/site-v0.css b/site/assets/styles/site-v1.css similarity index 100% rename from site/assets/styles/site-v0.css rename to site/assets/styles/site-v1.css diff --git a/site/index.html b/site/index.html index b81cb8b..eaca4c0 100644 --- a/site/index.html +++ b/site/index.html @@ -10,7 +10,7 @@ - +