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.] 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` 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/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 ( - +
\ No newline at end of file + + + + \ No newline at end of file