Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Stats feature with GitHub statistics API integration #11

Merged
merged 2 commits into from
Jan 17, 2025
Merged

Conversation

aliirz
Copy link
Contributor

@aliirz aliirz commented Jan 17, 2025

  • Introduced a new Stats page to display GitHub statistics, including open and closed issues, top contributors, and community engagement metrics.
  • Added a new API route to fetch GitHub statistics using the Octokit GraphQL API, with caching implemented for performance.
  • Updated the layout to include a navigation link to the new Stats page.
  • Integrated framer-motion for animated counters in the Stats page.

- Introduced a new Stats page to display GitHub statistics, including open and closed issues, top contributors, and community engagement metrics.
- Added a new API route to fetch GitHub statistics using the Octokit GraphQL API, with caching implemented for performance.
- Updated the layout to include a navigation link to the new Stats page.
- Integrated `framer-motion` for animated counters in the Stats page.
- Updated `package.json` and `package-lock.json` to include new dependencies: `chart.js`, `react-chartjs-2`, and `framer-motion`.
Copy link

vercel bot commented Jan 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
civic-issue-finder ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 1:57pm

- Changed variable declarations from `let` to `const` for `valueRoundedToPlace`, `animatedValue`, `y`, `placeValue`, and `offset` to enhance code clarity and maintainability.
- Updated array mapping method in the `Digit` component to use `Array.from` for better readability.
- Minor formatting adjustments for consistency across the component.
@aliirz aliirz merged commit b942492 into main Jan 17, 2025
4 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