Skip to content

Commit 38b54ca

Browse files
vintaclaude
andcommitted
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 <noreply@anthropic.com>
1 parent ee01a0b commit 38b54ca

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

website/build.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,6 @@ def render_category(
437437
hero_stats: list[str] = []
438438
if repo_stars:
439439
hero_stats.append(f"{repo_stars}+ stars on GitHub")
440-
hero_stats.append(f"{total_entries}+ curated projects")
441440
hero_stats.append(f"Updated {build_date.strftime('%B %d, %Y')}")
442441
(sponsorship_dir / "index.html").write_text(
443442
tpl_sponsorship.render(hero_stats=hero_stats),

website/templates/sponsorship.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<nav class="hero-topbar category-topbar" aria-label="Site">
1313
<a href="/" class="hero-brand-mini">Awesome Python</a>
1414
<div class="hero-topbar-actions">
15-
<a href="/#library-index" class="hero-topbar-link">All projects</a>
1615
<a
1716
href="https://github.com/vinta/awesome-python/blob/master/CONTRIBUTING.md"
1817
class="hero-topbar-link hero-topbar-link-strong"
@@ -50,7 +49,7 @@ <h1>Sponsor Awesome Python</h1>
5049
class="hero-action hero-action-secondary"
5150
target="_blank"
5251
rel="noopener"
53-
>View the repository</a
52+
>View on GitHub</a
5453
>
5554
</div>
5655
</div>

0 commit comments

Comments
 (0)