diff --git a/README.md b/README.md index f613a56..41d07b1 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,13 @@
#### Why do I exist? -### 2020 has been a challenging year for all of us. + +### 2021 has been a challenging year for all of us. As the year is ending, we thought to take a look back at all the contributions **you** as an individual made to the open-source community, during these unprecedented times. -Also, since Spotify, Snapchat and other mass platforms have their own way of year wrap up, **why not us?** +Also, since Spotify, Snapchat and other mass platforms have their own way of year wrap up, **why not us?**
githubwrapped.tech
@@ -31,7 +32,6 @@ You can also save your report as an image using the 'Save Report' button and sha #### Project Structure - This project uses [React.Js](https://reactjs.org) and the contents are bundled using webpack. The contents in this project follow the following structure. @@ -48,6 +48,7 @@ The contents in this project follow the following structure. ``` Each individual component and container, follows this structure + ``` section ├──index.jsx (main entry point) diff --git a/api/fetch.js b/api/fetch.js index c456125..36cc510 100644 --- a/api/fetch.js +++ b/api/fetch.js @@ -39,7 +39,7 @@ const fetchTotalStars = (parameters, token) => { const fetchTotalCommits = (variables, token) => { return axios({ method: "get", - url: `https://api.github.com/search/commits?q=author:${variables.login}+committer-date:>2020-01-01`, + url: `https://api.github.com/search/commits?q=author:${variables.login}+committer-date:>2021-01-01`, headers: { "Content-Type": "application/json", Accept: "application/vnd.github.cloak-preview", @@ -52,7 +52,7 @@ const fetchTotalCommits = (variables, token) => { const fetchTotalIssues = (params, token) => { return axios({ method: "get", - url: `https://api.github.com/search/issues?q=author:${params.login}+is:issue+created:2020-01-01..2020-12-31`, + url: `https://api.github.com/search/issues?q=author:${params.login}+is:issue+created:2021-01-01..2021-12-31`, headers: { "Content-Type": "application/json", Accept: "application/vnd.github.cloak-preview", @@ -65,7 +65,7 @@ const fetchTotalIssues = (params, token) => { const fetchTotalPRs = (params, token) => { return axios({ method: "get", - url: `https://api.github.com/search/issues?q=author:${params.login}+is:pr+created:2020-01-01..2020-12-31`, + url: `https://api.github.com/search/issues?q=author:${params.login}+is:pr+created:2021-01-01..2021-12-31`, headers: { "Content-Type": "application/json", Accept: "application/vnd.github.cloak-preview", diff --git a/public/index.html b/public/index.html index d1b72d3..3f51a32 100644 --- a/public/index.html +++ b/public/index.html @@ -20,8 +20,8 @@ - Github Wrapped 2020 - + Github Wrapped 2021 + - + - + - GitHub Wrapped 2020 + GitHub Wrapped 2021