From 04153036d48edd1f1c3021d92d77d2a659a050c4 Mon Sep 17 00:00:00 2001 From: Saransh Bangar Date: Sun, 19 May 2024 21:12:11 +0530 Subject: [PATCH 1/5] Corrected alignment of charts in medium devices (#39) --- app/[username]/Charts.js | 2 +- app/[username]/FollowUp.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/[username]/Charts.js b/app/[username]/Charts.js index ac4dd9b..865b945 100644 --- a/app/[username]/Charts.js +++ b/app/[username]/Charts.js @@ -18,7 +18,7 @@ const borderColor = [ const Charts = ({ commitsPerRepo, starsPerRepo, reposPerLanguages, starsPerLanguages }) => { return ( - +
{ const { issues_by_user, pr_by_user, issues_on_user, pr_on_user, login } = follwoup; return ( - +
Date: Mon, 20 May 2024 15:55:48 +0530 Subject: [PATCH 2/5] fixed changes in the contributors as said (#43) * fixed changes in the contributors * Update page.js --------- Co-authored-by: Prateek --- app/(home)/contributors.js | 47 ++++++++++++++++++++++++++++++++++++++ app/(home)/page.js | 33 +++++++++++++++++++++++++- next.config.mjs | 8 +++++++ 3 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 app/(home)/contributors.js diff --git a/app/(home)/contributors.js b/app/(home)/contributors.js new file mode 100644 index 0000000..8e012f9 --- /dev/null +++ b/app/(home)/contributors.js @@ -0,0 +1,47 @@ +export const ContributorsData = [ + { + name: "Subhadeep Roy", + github: "https://git.new/Subha", + imageUrl:"https://avatars.githubusercontent.com/u/111780029?v=4", + }, + { + name: "Suhani Singh Paliwal", + github: "https://github.com/suhanipaliwal", + imageUrl:"https://avatars.githubusercontent.com/u/161575955?v=4", + }, + { + name: "Sanmarg Sandeep Paranjpe", + github: "https://github.com/sanmarg", + imageUrl:"https://avatars.githubusercontent.com/u/50082154?v=4", + }, + { + name: "Shrijal Acharya", + github: "https://github.com/shricodev", + imageUrl:"https://avatars.githubusercontent.com/u/76906722?v=4", + }, + { + name: "Yujit Yadav", + github: "https://github.com/yujit2003", + imageUrl:"https://avatars.githubusercontent.com/u/97657345?v=4", + }, + { + name: "Varda003", + github: "https://github.com/Varda003", + imageUrl:"https://avatars.githubusercontent.com/u/136989588?v=4", + }, + { + name: "Pradnya", + github: "https://github.com/PradnyaGaitonde", + imageUrl:"https://avatars.githubusercontent.com/u/116059908?v=4", + }, + { + name: "Prathica Shetty M", + github: "https://github.com/PrathicaShettyM", + imageUrl:"https://avatars.githubusercontent.com/u/123286880?v=4", + }, + { + name: "Saransh Bangar", + github: "https://github.com/SaranshBangar", + imageUrl:"https://avatars.githubusercontent.com/u/114401238?v=4", + }, +]; \ No newline at end of file diff --git a/app/(home)/page.js b/app/(home)/page.js index 41751f6..8951ab6 100644 --- a/app/(home)/page.js +++ b/app/(home)/page.js @@ -6,6 +6,8 @@ import Link from 'next/link'; import GridContainer from '@/components/GridContainer'; import { unstable_noStore as noStore } from 'next/cache'; import Header from '@/components/Header'; +import { ContributorsData } from './contributors'; +import Image from 'next/image'; export default async function Home() { noStore(); @@ -13,7 +15,7 @@ export default async function Home() { try { await connectDb(); - recenetProfiles = await RecentProfiles.find({ }).sort({ updatedAt: 'desc' }).limit(8); + recenetProfiles = await RecentProfiles.find({}).sort({ updatedAt: 'desc' }).limit(8); } catch (error) { console.log('An error occurred in Home Page while fetching recent profiles'); } @@ -68,6 +70,35 @@ export default async function Home() {
)} + +
+

Meet Our Contributors

+
+
+
+ {ContributorsData.map((data, index) => ( + +
+ {data.name} +
+
+

{data.name}

+
+
+ ))} +
+
); diff --git a/next.config.mjs b/next.config.mjs index 2d96e33..9f61ea6 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -5,6 +5,14 @@ const nextConfig = { fullUrl: true, }, }, + images: { + remotePatterns: [ + { + protocol: 'https', + hostname: '*', + }, + ], + }, }; export default nextConfig; From 3c3d8992eeb3ecda510aa29ab91698d1d86f7d79 Mon Sep 17 00:00:00 2001 From: Deepanshi Singh <158538244+GitNinja-bcd@users.noreply.github.com> Date: Tue, 21 May 2024 17:51:51 +0530 Subject: [PATCH 3/5] Change CSS icon (#44) * Change CSS icon * Delete package-lock.json * Update package.json --------- Co-authored-by: Prateek --- package.json | 2 +- public/icons/css.svg | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dddbb86..20fce3c 100644 --- a/package.json +++ b/package.json @@ -29,4 +29,4 @@ "prettier-plugin-tailwindcss": "^0.5.12", "tailwindcss": "^3.3.0" } -} \ No newline at end of file +} diff --git a/public/icons/css.svg b/public/icons/css.svg index 6eb82d6..940411d 100644 --- a/public/icons/css.svg +++ b/public/icons/css.svg @@ -1 +1,4 @@ - \ No newline at end of file + + + + \ No newline at end of file From d7ccb77321de1016ba3c9b572d8b7e5472c248b9 Mon Sep 17 00:00:00 2001 From: Suhani Singh Paliwal <161575955+suhanipaliwal@users.noreply.github.com> Date: Sun, 26 May 2024 09:32:32 +0530 Subject: [PATCH 4/5] Create pull_request_template.md (#52) --- .github/pull_request_template.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..509fe35 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,26 @@ +## Related Issue +[Cite any related issue(s) this pull request addresses. If none, simply state “None”] + +## Description +[Please include a brief description of the changes or features added] + +## Type of PR + +- [ ] Bug fix +- [ ] Feature enhancement +- [ ] Documentation update +- [ ] Other (specify): _______________ + +## Screenshots / videos (if applicable) +[Attach any relevant screenshots or videos demonstrating the changes] + +## Checklist: +- [ ] I have performed a self-review of my code +- [ ] I have read and followed the Contribution Guidelines. +- [ ] I have tested the changes thoroughly before submitting this pull request. +- [ ] I have provided relevant issue numbers, screenshots, and videos after making the changes. +- [ ] I have commented my code, particularly in hard-to-understand areas. + + +## Additional context: +[Include any additional information or context that might be helpful for reviewers.] From a2f86986dd7995c318005a5e410202ecd35e22df Mon Sep 17 00:00:00 2001 From: Piyush Date: Wed, 5 Jun 2024 13:09:20 +0530 Subject: [PATCH 5/5] Update README.md --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 271065f..b04e17c 100644 --- a/README.md +++ b/README.md @@ -45,19 +45,24 @@ To run GitGlance locally, follow these steps: ```bash cp .env.example .env ``` -4. Open the .env file and add your GitHub Personal Access Token: +4. Open the .env file and add your + - GitHub Personal Access Token + - MongoDB URI + ```bash GITHUB_TOKEN= + MONGODB_URI=mongodb://localhost:27017/ + BASE_URL=http://localhost:3000 ``` -5. Install dependencies: +6. Install dependencies: ```bash npm install ``` -6. Start the development server: +7. Start the development server: ```bash npm run dev ``` -7. Open your browser and visit `http://localhost:3000` +8. Open your browser and visit `http://localhost:3000`