Skip to content

feat(website): add contributors section to landing page and fix star link - #1547

Merged
tomalaforge merged 1 commit into
mainfrom
tomalaforge/contributors-line-landing-page
Aug 30, 2026
Merged

feat(website): add contributors section to landing page and fix star link#1547
tomalaforge merged 1 commit into
mainfrom
tomalaforge/contributors-line-landing-page

Conversation

@tomalaforge

@tomalaforge tomalaforge commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Changes

  • Added a /api/contributors endpoint that fetches repository contributors from GitHub (excluding bots), cached for 1 hour
  • Added a contributors avatar strip section on the landing page, displayed below the sponsors section
  • Fixed the star icon in the site header to link to the /stargazers page instead of the generic repo page
  • Renamed internal Sponsor interface to GithubUser to share the type with contributors

Summary by CodeRabbit

  • New Features
    • Added a Contributors section to the landing page with GitHub profile links and avatar images.
    • Contributor information is refreshed periodically and excludes unsupported account types.
    • Updated the repository Star link to open its GitHub stargazers page.

…link

- Add /api/contributors endpoint returning repo contributors (excluding bots)
- Display contributor avatars on landing page below the sponsors section
- Fix star icon in site header to link to /stargazers page

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: eaf341b1-70db-4811-a059-a34ee36eb181

📥 Commits

Reviewing files that changed from the base of the PR and between 7d80b62 and a5cc8ed.

📒 Files selected for processing (4)
  • website/src/app/layout/site-header.html
  • website/src/app/pages/landing/landing.html
  • website/src/app/pages/landing/landing.ts
  • website/src/server/github-api.ts

📝 Walkthrough

Walkthrough

The website adds a GitHub contributors endpoint and displays contributor avatars on the landing page. It renames the shared GitHub user type and updates the repository Star link to open the stargazers page.

Changes

Contributor display

Layer / File(s) Summary
Contributor API route
website/src/server/github-api.ts
Adds GET /contributors. The route fetches GitHub contributors, filters accounts, maps response fields, handles failures, and sets cache headers.
Landing page contributor rendering
website/src/app/pages/landing/landing.ts, website/src/app/pages/landing/landing.html
Adds the GithubUser type, loads contributors from /api/contributors, and renders linked contributor avatars when contributors are available.
Repository Star link
website/src/app/layout/site-header.html
Changes the GitHub Star link to the repository /stargazers page.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Browser
  participant Landing
  participant ContributorsRoute as /api/contributors
  participant GitHubAPI as github

  Browser->>Landing: Load landing page
  Landing->>ContributorsRoute: Fetch contributors
  ContributorsRoute->>GitHubAPI: Request repository contributors
  GitHubAPI-->>ContributorsRoute: Return contributor data
  ContributorsRoute-->>Landing: Return mapped contributors
  Landing-->>Browser: Render contributor avatars and profile links
Loading
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tomalaforge/contributors-line-landing-page

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
angular-challenges-website Ready Ready Preview Aug 30, 2026 5:43pm

@tomalaforge
tomalaforge merged commit 0d8a8da into main Aug 30, 2026
5 of 7 checks passed
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