rahuldkjain / github-profile-readme-generator

🚀 Generate GitHub profile README easily with the latest add-ons like visitors count, GitHub stats, etc using minimal UI.
https://rahuldkjain.github.io/gh-profile-readme-generator
Apache License 2.0
20.88k stars 6.46k forks source link

Add more Github Stats options for user to choose #40

Open DheerajKN opened 4 years ago

DheerajKN commented 4 years ago

anuraghazra/github-readme-stats project that provides GitHub Stats Card now widely used in many profile-readme github has 2 more card namely:

So adding this feature request so that user can get an option to add this data in his profile-readme

Solution - Adding 2 more checkbox option for the user to select whether he wants to add these functionalities:

<></>

- If user selects GitHub Extra Repo Pins:
Add 2 repo links and show them one along side another

```js
    const MostAdmiredRepos = (props) => {
        let html = `
## Most Admired Repos

<a href="https://github.com/${props.github}/${props.repo[0]}">
  <img align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=${props.github}&repo=${props.repo[0]}" />
</a>
<a href="https://github.com/${props.github}/${props.repo[1]}">
 <img align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=${props.github}&repo=${props.repo[1]}" />
</a>`

        if (props.show) {
            return (<>{`${mostAdmiredRepos}`}<br /><br /></>);
        }
        return '';
    }

<><MostAdmiredRepos show={props.data.githubStats} github={props.social.github} repos={props.github.repos}/></>
rahuldkjain commented 4 years ago

@DheerajKN would you like to work on this issue?

DheerajKN commented 4 years ago

No @rahuldkjain, that's the reason why I wrote down some code.

rahuldkjain commented 4 years ago

Fine @DheerajKN

g-savitha commented 3 years ago

Assign it to me