From 38b54caabbabfc872d9713ccf37752f03a1ce7ba Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Sun, 3 May 2026 11:45:07 +0800 Subject: [PATCH] fix(website): trim sponsorship page nav and hero stats Remove the 'All projects' nav link and total_entries hero stat from the sponsorship page. Rename 'View the repository' CTA to 'View on GitHub'. Co-Authored-By: Claude --- website/build.py | 1 - website/templates/sponsorship.html | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/website/build.py b/website/build.py index 31d12e1c..4080c516 100644 --- a/website/build.py +++ b/website/build.py @@ -437,7 +437,6 @@ def build(repo_root: Path) -> None: hero_stats: list[str] = [] if repo_stars: hero_stats.append(f"{repo_stars}+ stars on GitHub") - hero_stats.append(f"{total_entries}+ curated projects") hero_stats.append(f"Updated {build_date.strftime('%B %d, %Y')}") (sponsorship_dir / "index.html").write_text( tpl_sponsorship.render(hero_stats=hero_stats), diff --git a/website/templates/sponsorship.html b/website/templates/sponsorship.html index 6afd0a02..dbd51801 100644 --- a/website/templates/sponsorship.html +++ b/website/templates/sponsorship.html @@ -12,7 +12,6 @@