Add GithubCalendar component with dark/light theme #794
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.
Description
Added a new
GithubCalendar
component to display the GitHub contribution graph using thereact-github-calendar
library. The calendar is styled with a custom purple theme and fully supports both light and dark modes.The component is reusable and takes an
isDark
prop to dynamically adjust the styling. It improves the portfolio’s ability to reflect open source engagement visually.Fixes #793
Motivation
As someone actively beginning my open source journey, I wanted a clean, visually appealing way to show GitHub contribution activity directly on the portfolio. This addition allows developers to reflect their consistency and OSS involvement — which is valuable for personal branding and resumes.
Type of Change
Dependencies Added
react-github-calendar
Usage
To use the component, import it and pass
isDark
as a prop: