Skip to content

Add supporter metadata and subtle listing badge#19

Merged
antiero merged 2 commits into
mainfrom
codex/add-supporter-metadata-for-sponsors
May 11, 2026
Merged

Add supporter metadata and subtle listing badge#19
antiero merged 2 commits into
mainfrom
codex/add-supporter-metadata-for-sponsors

Conversation

@antiero
Copy link
Copy Markdown
Member

@antiero antiero commented May 11, 2026

Motivation

  • Provide first-class, optional sponsorship metadata so supporters can be recognised in the public directory without affecting editorial behaviour.
  • Mark PlayDrumsOnline as an active supporter for the public record while keeping listing order and search unchanged.

Description

  • Add SponsorTier and SponsorInfo types and an optional sponsor?: SponsorInfo field on Site in src/types.ts.
  • Mark PlayDrumsOnline with sponsor: { active: true, tier: 'supporter', since: '2026-05-11' } in src/data.ts.
  • Render a subtle Supporter badge when site.sponsor?.active is true in both src/components/SiteCard.tsx and src/components/SiteRow.tsx.
  • Add a short ## Sponsorship policy blurb to README.md clarifying that sponsorship does not guarantee inclusion, ranking, endorsement, or editorial preference.

Testing

  • Ran npm run lint (tsc --noEmit) which completed successfully.
  • Ran npm run build (vite build) which completed successfully and produced a production build.
  • No changes to sorting, filtering, or ranking logic were introduced and non-sponsored entries remain unaffected.

Codex Task

@antiero antiero merged commit 73e887d into main May 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant