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

Feature - Instead of just showing a star on Navbar ,Can include star count... or! #968

Open
Jivi-this-side opened this issue Apr 2, 2025 · 0 comments

Comments

@Jivi-this-side
Copy link

Jivi-this-side commented Apr 2, 2025

Is your feature request related to a problem? Please describe.
Currently, both the star icon and the GitHub icon on the navbar direct the user to the same page, making the presence of two distinct icons redundant.

Describe the solution you'd like
Instead of displaying only the star icon, consider incorporating the GitHub star count as well. Alternatively, clicking on the icon could directly add a star to the repository.

This functionality can be effortlessly achieved by utilizing GitHub's Star Button with a few lines of code:

Example HTML Code:

<a class="github-button" href="https://github.com/YOUR_USERNAME/YOUR_REPO" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star YOUR_REPO on GitHub">Star</a>

<script async defer src="https://buttons.github.io/buttons.js"></script>
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

No branches or pull requests

1 participant