Skip to content

Redesign homepage adopters strip as project cards (live stars) - #222

Merged
YugantM merged 1 commit into
mainfrom
adopter-cards
Sep 17, 2026
Merged

YugantM merged 1 commit into
mainfrom
adopter-cards

Conversation

@YugantM

@YugantM YugantM commented Sep 17, 2026

Copy link
Copy Markdown
Owner

What

Replaces the homepage logo-strip ("Projects carrying the HVTracker badge") with the project-card design (the one approved in preview): each card shows the avatar, owner/repo, a one-line description, a live star count, and an HVTrust pill, and links to that project's /agents/<slug>/ scorecard.

Why

The card layout was the agreed design; the live site was still on the older one-line logo strip. This also fixes a latent bug: skillspector-logo.png (added in #221) had no FileResponse route, so it 404s — this PR removes it and serves all seven avatars via one /adopters/{slug}.png route.

Star counts stay fresh

stars_fmt is read from live registry data at render time (guarded to hide a count only if a repo hasn't been fetched yet). owner/repo, name and description are curated so a stale registry repo field (e.g. threadplane's old name) never shows.

Changes

  • template.html — card grid + CSS (reuses your tokens; {% for a in adopters | default([]) %} so no render path can break)
  • fetch_and_build.py — builds the adopters list from agent_rows, passes it to the homepage render
  • app.py — /adopters/{slug}.png route (whitelisted; 404 via Response)
  • adopters/*.png — seven square avatars
  • removes routeless skillspector-logo.png

All seven verified adopters are included. Existing logo files/routes and their test are untouched.

🤖 Generated with Claude Code

Replace the logo-only featured-footer strip with GitHub-style cards
(avatar, owner/repo, short description, live star count, HVTrust pill)
linking to each project's trust scorecard. Star counts come from live
registry data (stars_fmt), so they never go stale; repo/name/description
are curated. Adds square avatars for all seven adopters, served via a new
/adopters/{slug}.png route (each BASE_DIR file needs an explicit route),
and removes the routeless skillspector-logo.png added in #221 (superseded).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@YugantM
YugantM merged commit 47a0f67 into main Sep 17, 2026
3 checks passed
@YugantM
YugantM deleted the adopter-cards branch October 2, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant