Repository navigation
Redesign homepage adopters strip as project cards (live stars) - #222
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 noFileResponseroute, so it 404s — this PR removes it and serves all seven avatars via one/adopters/{slug}.pngroute.Star counts stay fresh
stars_fmtis 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 registryrepofield (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 theadopterslist fromagent_rows, passes it to the homepage renderapp.py—/adopters/{slug}.pngroute (whitelisted; 404 viaResponse)adopters/*.png— seven square avatarsskillspector-logo.pngAll seven verified adopters are included. Existing logo files/routes and their test are untouched.
🤖 Generated with Claude Code