Skip to content

Commit

Permalink
feat: next auth implementation (#1865)
Browse files Browse the repository at this point in the history
* chore: added Harsh to projects #1652 (#1717)

* Update projects.json

Added Project

Signed-off-by: HARSH SHARMA <121893196+HarshSharma0801@users.noreply.github.com>

* Update projects.json

Signed-off-by: HARSH SHARMA <121893196+HarshSharma0801@users.noreply.github.com>

* Update projects.json

Signed-off-by: HARSH SHARMA <121893196+HarshSharma0801@users.noreply.github.com>

---------

Signed-off-by: HARSH SHARMA <121893196+HarshSharma0801@users.noreply.github.com>

* chore: added sahil chalke to projects #1729 (#1708)

* added sahil chalke

* added sahil chalke

* added sahil chalke

* Update projects.json

Signed-off-by: Sahil Chalke <109215419+Sahilll15@users.noreply.github.com>

---------

Signed-off-by: Sahil Chalke <109215419+Sahilll15@users.noreply.github.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* chore: Added Testimonial Project #1725 

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* fix: Added `Navbar` Component in the layout. (#1712)

* Added `Navbar` Component in the layout.

* made required changes

---------

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* fix: added text-primary hover to links (#1736)

* chore: added color flipper project (vaibhav-xt) (#1726)

* added color flipper project (vaibhav-xt)

* chore: project addition by vaibhav-xt

---------

Signed-off-by: Vaibhav Maurya <90946899+vaibhav-xt@users.noreply.github.com>

* fix: Opens Github link in new tab #1738 

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* fix: Added `firebase` and `expressjs` to filters (#1739)

* added firebase and express to filters

* Update utils/techStack.ts

Co-authored-by: Priyankar Pal  <88102392+priyankarpal@users.noreply.github.com>
Signed-off-by: Sahil Chalke <109215419+Sahilll15@users.noreply.github.com>

---------

Signed-off-by: Sahil Chalke <109215419+Sahilll15@users.noreply.github.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* fix: Added scroll to top button (#1737)

* Added scroll to top button

* made suggested changes

* chore: project addition by parasss19 #1724 (#1742)

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* fix: Footer text color (#1745)

Co-authored-by: Your Name <you@example.com>

* fix: Makes the Browse Projects button visible in mobile mode #1746 

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* chore(deps): bump react-router-dom from 6.14.1 to 6.14.2 (#1758)

Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.14.1 to 6.14.2.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/react-router-dom@6.14.2/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.14.2/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: project addition by [palakkgoyal] #1754 (#1755)

* chore: project addition by [palakkgoyal] #1754

Signed-off-by: Palak <Palakgoyal0304@gmail.com>

* Converted tech stacks to lowercase

Signed-off-by: Palak <Palakgoyal0304@gmail.com>

---------

Signed-off-by: Palak <Palakgoyal0304@gmail.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* fix: Added aria label on social icons #1760

* chore: project addition by [anshulsoni4] #1757 (#1759)

* added project (anshul soni)

Signed-off-by: Anshul Soni <74638335+anshulsoni4@users.noreply.github.com>

* updated project (anshul soni)

Signed-off-by: Anshul Soni <74638335+anshulsoni4@users.noreply.github.com>

* updated anshul soni 02

Signed-off-by: Anshul Soni <74638335+anshulsoni4@users.noreply.github.com>

---------

Signed-off-by: Anshul Soni <74638335+anshulsoni4@users.noreply.github.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* fix: Added Contributors Section (#1765)

Signed-off-by: Khushi Marothi <85816852+khushimarothi@users.noreply.github.com>

* chore: project addition by [ankit-0369] #1728 (#1774)

* chore: project addition by [ankit-0369] #1728

Signed-off-by: Ankit kumar <98079557+ankit-0369@users.noreply.github.com>

* Update DB/projects.json

Co-authored-by: Priyankar Pal  <88102392+priyankarpal@users.noreply.github.com>
Signed-off-by: Ankit kumar <98079557+ankit-0369@users.noreply.github.com>

* Update DB/projects.json

Co-authored-by: Priyankar Pal  <88102392+priyankarpal@users.noreply.github.com>
Signed-off-by: Ankit kumar <98079557+ankit-0369@users.noreply.github.com>

---------

Signed-off-by: Ankit kumar <98079557+ankit-0369@users.noreply.github.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* chore(deps): bump postcss from 8.4.26 to 8.4.27 (#1790)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.26 to 8.4.27.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.26...8.4.27)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump eslint-config-next from 13.4.10 to 13.4.11 (#1791)

Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.4.10 to 13.4.11.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.4.11/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: improper pointer actions 🛠 (#1780)

* fix: improper pointer actions

* fix: improper pointer actions on profile card

---------

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* chore(deps): bump next from 13.4.10 to 13.4.11 (#1792)

Bumps [next](https://github.com/vercel/next.js) from 13.4.10 to 13.4.11.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v13.4.10...v13.4.11)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* fix: Copy functionality in Share profile #1786 #1793 

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* chore: project added by Priyansh (#1785)

* feat: Add "DevTweet" project and remove old projects

* chore: fix typo

---------

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* fix: Added animation to cards (#1775)

* Update Banner.tsx

Signed-off-by: Akanksha Chaurasia <97845909+akanksha984@users.noreply.github.com>

* Update Banner.tsx

Signed-off-by: Akanksha Chaurasia <97845909+akanksha984@users.noreply.github.com>

---------

Signed-off-by: Akanksha Chaurasia <97845909+akanksha984@users.noreply.github.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* chore: project addition by ratishjain12 #1782 (#1783)

* chore: project addition by ratishjain12 #1782

* chore: project addition by ratishjain12 #1782

* chore: project addition by ratishjain12 #1782

* fix: replaced space consuming border with outline (#1800)

* fix: added logo in footer (#1804)

* chore: project addition by ighoshsubho #1805 (#1806)

## Added new project to the list
- A Cloud Reminder Application
- A Wildfire Saviour Application
- A Super Chat Application

Closes #1805

Signed-off-by: Subho Ghosh <93722719+ighoshsubho@users.noreply.github.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* chore: Added crypto project (#1818)

* docs: Added crypto project

* Fixed

* remove spaces

---------

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* chore: added new checklists in all the issue forms (#1825)

* chore: Added travel site project (#1821)

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* ci: change stale the issue & pr messages (#1826)

Signed-off-by: Priyankar Pal  <88102392+priyankarpal@users.noreply.github.com>

* fix: icon hover resolved #1802 (#1827)

* chore: project addition by Harshu467 #1828 (#1832)

* chore: project addition by Harshu467 #1828

* Updated

* chore(deps): bump @types/node from 20.4.2 to 20.4.4 (#1834)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.2 to 20.4.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* chore(deps): bump next from 13.4.11 to 13.4.12 (#1835)

Bumps [next](https://github.com/vercel/next.js) from 13.4.11 to 13.4.12.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v13.4.11...v13.4.12)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* chore(deps): bump eslint-config-next from 13.4.11 to 13.4.12 (#1836)

Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.4.11 to 13.4.12.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.4.12/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: project addition by AbhishekPSing07 #1794 (#1839)

* chore: project addition by AbhishekPSing07 #1794

Signed-off-by: AbhishekPSingh07 <79076050+AbhishekPSingh07@users.noreply.github.com>

* chore: project addition by AbhishekPSing07 #1794

Signed-off-by: AbhishekPSingh07 <79076050+AbhishekPSingh07@users.noreply.github.com>

* chore: project addition by AbhishekPSing07 #1794

Changes made

Signed-off-by: AbhishekPSingh07 <79076050+AbhishekPSingh07@users.noreply.github.com>

---------

Signed-off-by: AbhishekPSingh07 <79076050+AbhishekPSingh07@users.noreply.github.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* remove github actor from stale-issue.yml

Signed-off-by: Priyankar Pal  <88102392+priyankarpal@users.noreply.github.com>

* chore(dep): @types/react upgraded to latest version

* fix: hidden copyright for mobile devices 🛠 (#1843)

* fix: incorrect copyright measurements for mobile

* update: bottom alignment measurement for mobile navbar

* chore: setup husky and commitlint (#1844)

* chore: setup husky and commitlint

* fix: windows setup

---------

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* fix: commitlint pnpm

* docs: added use `pnpm` point 

Signed-off-by: Priyankar Pal  <88102392+priyankarpal@users.noreply.github.com>

* fix: improper floating animation for images on intro page (#1852)

* fix: browse projects button cut-off on homepage for mobile devices (#1854)

* fix: improper way of hiding images on homepage (#1856)

* chore(deps): bump @types/node from 20.4.4 to 20.4.5 (#1857)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.4 to 20.4.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: Improved SEO (#1851)

* Improved SEO

* resolved the conflicts

---------

Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>

* chore: IOT project added (#1858)

* #1850

* Update projects.json

* feat: add next auth

* remove use client from layout.tsx

Signed-off-by: Priyankar Pal  <88102392+priyankarpal@users.noreply.github.com>

---------

Signed-off-by: HARSH SHARMA <121893196+HarshSharma0801@users.noreply.github.com>
Signed-off-by: Sahil Chalke <109215419+Sahilll15@users.noreply.github.com>
Signed-off-by: Vaibhav Maurya <90946899+vaibhav-xt@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Palak <Palakgoyal0304@gmail.com>
Signed-off-by: Anshul Soni <74638335+anshulsoni4@users.noreply.github.com>
Signed-off-by: Khushi Marothi <85816852+khushimarothi@users.noreply.github.com>
Signed-off-by: Ankit kumar <98079557+ankit-0369@users.noreply.github.com>
Signed-off-by: Akanksha Chaurasia <97845909+akanksha984@users.noreply.github.com>
Signed-off-by: Subho Ghosh <93722719+ighoshsubho@users.noreply.github.com>
Signed-off-by: Priyankar Pal  <88102392+priyankarpal@users.noreply.github.com>
Signed-off-by: AbhishekPSingh07 <79076050+AbhishekPSingh07@users.noreply.github.com>
Signed-off-by: Sulagna Ghosh <62666287+suzy-g38@users.noreply.github.com>
Co-authored-by: HARSH SHARMA <121893196+HarshSharma0801@users.noreply.github.com>
Co-authored-by: Sahil Chalke <109215419+Sahilll15@users.noreply.github.com>
Co-authored-by: Priyankar Pal <88102392+priyankarpal@users.noreply.github.com>
Co-authored-by: Vaibhav Maurya <90946899+vaibhav-xt@users.noreply.github.com>
Co-authored-by: Priyanshu Maurya <mauryapriyanshu-cmpn@atharvacoe.ac.in>
Co-authored-by: Sumit Kumar Rai <100675296+sumitkr2000@users.noreply.github.com>
Co-authored-by: Paras <mehtaparas1901@gmail.com>
Co-authored-by: Ilma Salsabil <106610322+crocmons@users.noreply.github.com>
Co-authored-by: Your Name <you@example.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Palak <Palakgoyal0304@gmail.com>
Co-authored-by: Anshul Soni <74638335+anshulsoni4@users.noreply.github.com>
Co-authored-by: Khushi Marothi <85816852+khushimarothi@users.noreply.github.com>
Co-authored-by: Ankit kumar <98079557+ankit-0369@users.noreply.github.com>
Co-authored-by: Abdul Khalid <mezmerizingbeats2004@gmail.com>
Co-authored-by: Akanksha Jha <100708686+Akanksha-202@users.noreply.github.com>
Co-authored-by: Priyansh Prajapat <priyansh029ztn@gmail.com>
Co-authored-by: Akanksha Chaurasia <97845909+akanksha984@users.noreply.github.com>
Co-authored-by: Ratish jain <43003421+ratishjain12@users.noreply.github.com>
Co-authored-by: Bharti Vilas Nagpure <104631882+BhartiNagpure@users.noreply.github.com>
Co-authored-by: Subho Ghosh <93722719+ighoshsubho@users.noreply.github.com>
Co-authored-by: karthik nadar <karthiknadar1204@gmail.com>
Co-authored-by: Anmol Baranwal <74038190+Anmol-Baranwal@users.noreply.github.com>
Co-authored-by: HARSH RAJENDRA UPADHYE <89975347+Harshu467@users.noreply.github.com>
Co-authored-by: AbhishekPSingh07 <79076050+AbhishekPSingh07@users.noreply.github.com>
Co-authored-by: Balaji Sivasakthi <balajisivasakthi2020@gmail.com>
Co-authored-by: Deepaksingh Kushwah <deepkushwah824@gmail.com>
  • Loading branch information
1 parent afe8086 commit ae3a92f
Show file tree
Hide file tree
Showing 29 changed files with 1,417 additions and 1,107 deletions.
14 changes: 10 additions & 4 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 🐞 Bug Report
description: File a bug report
title: 'Bug: '
labels: ['🛠 goal: fix', '🚦status: awaiting triage', '💻 aspect: code']
title: "Bug: "
labels: ["🛠 goal: fix", "🚦status: awaiting triage", "💻 aspect: code"]
body:
- type: textarea
id: what-happened
Expand Down Expand Up @@ -32,9 +32,15 @@ body:
- type: checkboxes
id: terms
attributes:
label: 'Record'
label: "Record"
options:
- label: I agree to follow this project's Code of Conduct
- label: I have checked the existing [issues](https://github.com/priyankarpal/ProjectsHut/issues)
required: true

- label: I have read the [Contributing Guidelines](https://github.com/priyankarpal/ProjectsHut/blob/main/contributing.md)
required: true

- label: I agree to follow this project's [Code of Conduct](https://github.com/priyankarpal/ProjectsHut/blob/main/CODE_OF_CONDUCT.md)
required: true

- label: I'm a GSSoC'23 contributor
Expand Down
21 changes: 17 additions & 4 deletions .github/ISSUE_TEMPLATE/docs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
name: 🔖 Documentation update
description: Improve Documentation
title: 'docs:'
labels: ['📄 aspect: text', '🚦status: awaiting triage', '✨ goal: improvement', 'good first issue', '🟨 priority: medium']
title: "docs:"
labels:
[
"📄 aspect: text",
"🚦status: awaiting triage",
"✨ goal: improvement",
"good first issue",
"🟨 priority: medium",
]
body:
- type: textarea
id: improve-docs
Expand All @@ -22,9 +29,15 @@ body:
- type: checkboxes
id: terms
attributes:
label: 'Record'
label: "Record"
options:
- label: I agree to follow this project's Code of Conduct
- label: I have checked the existing [issues](https://github.com/priyankarpal/ProjectsHut/issues)
required: true

- label: I have read the [Contributing Guidelines](https://github.com/priyankarpal/ProjectsHut/blob/main/contributing.md)
required: true

- label: I agree to follow this project's [Code of Conduct](https://github.com/priyankarpal/ProjectsHut/blob/main/CODE_OF_CONDUCT.md)
required: true

- label: I'm a GSSoC'23 contributor
Expand Down
14 changes: 10 additions & 4 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ✨ Feature Request
description: Suggest a feature request
title: 'feat:'
labels: ['⭐ goal: addition', '🚦status: awaiting triage']
title: "feat:"
labels: ["⭐ goal: addition", "🚦status: awaiting triage"]
body:
- type: textarea
id: what-feature
Expand All @@ -20,9 +20,15 @@ body:
- type: checkboxes
id: terms
attributes:
label: 'Record'
label: "Record"
options:
- label: I agree to follow this project's Code of Conduct
- label: I have checked the existing [issues](https://github.com/priyankarpal/ProjectsHut/issues)
required: true

- label: I have read the [Contributing Guidelines](https://github.com/priyankarpal/ProjectsHut/blob/main/contributing.md)
required: true

- label: I agree to follow this project's [Code of Conduct](https://github.com/priyankarpal/ProjectsHut/blob/main/CODE_OF_CONDUCT.md)
required: true

- label: I'm a GSSoC'23 contributor
Expand Down
20 changes: 16 additions & 4 deletions .github/ISSUE_TEMPLATE/project-add.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
name: 🌱 Project Addition
description: Add a new project to the list
title: 'chore: project addition by '
labels: ['projects addition', '🚦status: awaiting triage', 'good first issue', '🟩 priority: low']
title: "chore: project addition by "
labels:
[
"projects addition",
"🚦status: awaiting triage",
"good first issue",
"🟩 priority: low",
]
body:
- type: textarea
id: project-add
Expand All @@ -12,9 +18,15 @@ body:
- type: checkboxes
id: terms
attributes:
label: 'Record'
label: "Record"
options:
- label: I agree to follow this project's Code of Conduct
- label: I have checked the existing [issues](https://github.com/priyankarpal/ProjectsHut/issues)
required: true

- label: I have read the [Contributing Guidelines](https://github.com/priyankarpal/ProjectsHut/blob/main/contributing.md)
required: true

- label: I agree to follow this project's [Code of Conduct](https://github.com/priyankarpal/ProjectsHut/blob/main/CODE_OF_CONDUCT.md)
required: true

- label: I want to work on this issue
4 changes: 2 additions & 2 deletions .github/workflows/stale-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
days-before-pr-close: 2
# stale issue messages
stale-issue-message: >
'This issue has been open for a few days with no activity. It will be closed soon if no further activity occurs.'
This issue has been open for a few days with no activity. It will be closed soon if no further activity occurs.
close-issue-message: >
'This issue has been closed because it has not received any activity in the last few days'
This issue has been closed because it has not received any activity in the last few days
# pr issue messages
stale-pr-message: 'This PR has been open few days with no activity. It will be closed soon if no further activity occurs'
close-pr-message: 'This PR was closed because it has been stalled for few days with no activity.'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
/node_modules
/.pnp
.pnp.js
.next
.env

# testing
/coverage
Expand Down
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run commitlint ${1}
1 change: 0 additions & 1 deletion DB/projects.json
Original file line number Diff line number Diff line change
Expand Up @@ -4108,4 +4108,3 @@
]
}
]

12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,19 @@ Contributions are welcome! If you have any ideas, suggestions, or bug fixes, ple
- Go through the [CONTRIBUTING.md](https://github.com/priyankarpal/ProjectsHut/blob/main/contributing.md) file, where all the guidelines have been mentioned that will guide you to make your contribution.
- Do check out the [project issue tracker](https://github.com/priyankarpal/ProjectsHut/issues) section.
- we are using `pnpm` so please use `pnpm`

## 🤝 Our Contributors

<details>
<summary>Contributors</summary>
<div>
<a href="https://github.com/priyankarpal/ProjectsHut/graphs/contributors">
<img src="https://contrib.rocks/image?repo=priyankarpal/projectshut"/>
</a>
</div>
</details>

Thank you for your interest in contributing to our project! We appreciate any contributions, whether it's bug fixes, new features, or documentation improvements.

We value the time and effort you put into contributing, and we look forward to reviewing and merging your contributions. Join us on this exciting journey of creativity and collaboration, and let your projects shine on Projectshut!
Expand Down Expand Up @@ -59,5 +69,3 @@ We value the time and effort you put into contributing, and we look forward to r
## ©️ License

The project is licensed under the [MIT License](https://github.com/neelshah2409/Bot-Collection/blob/main/LICENSE).

---
13 changes: 13 additions & 0 deletions app/ProviderWrapper.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use client'
import { SessionProvider } from 'next-auth/react'

export default function ProvidersWrapper({ children }: {
children: React.ReactNode
}) {
//entire app will have the access of session
return (
<SessionProvider>
{children}
</SessionProvider>
)
}
64 changes: 64 additions & 0 deletions app/api/auth/[...nextauth]/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
import NextAuth from 'next-auth'
import type { NextAuthOptions } from "next-auth"

export const authOptions: NextAuthOptions ={
providers: [
{
id: 'Github',
name: 'Github',
type: 'oauth',
authorization: 'https://github.com/login/oauth/authorize',
token: 'https://github.com/login/oauth/access_token',
userinfo: 'https://api.github.com/user',
clientId: process.env.GITHUB_ID,
clientSecret: process.env.GITHUB_SECRET,
profile(profile) {
return {
id: profile.id,
name: profile?.name,
}
},
},
],
secret: process.env.NEXTAUTH_SECRET,
debug: true,

session: {
maxAge: 30 * 24 * 60 * 60, // 30 days
updateAge: 24 * 60 * 60, // 24 hours
},
jwt: {
maxAge: 60 * 60 * 24 * 30,
},

callbacks: {
async signIn() {
return true
},

async jwt({ token, account }) {
if (account) {
const accessTokenExpires = account?.expires_at ? account?.expires_at : 0
token.accessToken = account?.access_token
token.accessTokenExpires = accessTokenExpires * 1000
}

return token
},
async session({ session, token }) {
const data = {
user: {
id: token?.sub as string,
image: session.user?.image,
},
expires: session.expires,
}

return data
},
}
}
const handler = NextAuth(authOptions)

export { handler as GET, handler as POST }

110 changes: 53 additions & 57 deletions app/docs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import { useEffect, ReactNode, useState } from "react";
import SyntaxHighlighter from "react-syntax-highlighter";
import { anOldHope } from "react-syntax-highlighter/dist/esm/styles/hljs";
import { Navbar } from "@/components";
import Image from "next/image";
import { MdOutlineContentCopy } from "react-icons/md";
import { BsCheck2Circle } from "react-icons/bs";
Expand Down Expand Up @@ -224,62 +223,59 @@ function AddYourProjectsGuide(): JSX.Element {
));

return (
<>
<Navbar />
<section className="relative isolate overflow-hidden px-6 py-24 sm:py-32 lg:overflow-visible lg:px-0">
<div className="absolute inset-0 -z-10 overflow-hidden">
<svg
className="absolute left-[max(50%,25rem)] top-0 h-[64rem] w-[128rem] -translate-x-1/2 stroke-gray-500 [mask-image:radial-gradient(64rem_64rem_at_top,white,transparent)] opacity-20"
aria-hidden="true"
>
<defs>
<pattern
id="e813992c-7d03-4cc4-a2bd-151760b470a0"
width={180}
height={180}
x="50%"
y={-1}
patternUnits="userSpaceOnUse"
>
<path d="M100 180V.5M.5 .5H180" fill="none" />
</pattern>
</defs>
<rect
width="100%"
height="100%"
strokeWidth={0}
fill="url(#e813992c-7d03-4cc4-a2bd-151760b470a0)"
/>
</svg>
</div>
<div className="flex justify-center mt-10">
<button
className={`mx-2 px-4 py-2 rounded-lg mb-4 ${selectedOption === 0
? "bg-indigo-600 text-white"
: "border border-gray-700 text-gray-300"
}`}
onClick={() => selectOption(0)}
>
Add Projects Directly From GitHub
</button>
<button
className={`mx-2 px-4 py-2 rounded-lg mb-4 ${selectedOption === 1
? "bg-indigo-600 text-white"
: "border border-gray-700 text-gray-300"
}`}
onClick={() => selectOption(1)}
>
Set Up Projects Locally
</button>
</div>
<article className="items-center max-w-5xl mx-auto">
<p className="mb-5 text-xl font-bold tracking-tight text-red-500">
Follow the following steps to add your projects to ProjectsHut:
</p>
<div className="option">{stepsRender}</div>
</article>
</section>
</>
<section className="relative isolate overflow-hidden px-6 py-24 sm:py-32 lg:overflow-visible lg:px-0">
<div className="absolute inset-0 -z-10 overflow-hidden">
<svg
className="absolute left-[max(50%,25rem)] top-0 h-[64rem] w-[128rem] -translate-x-1/2 stroke-gray-500 [mask-image:radial-gradient(64rem_64rem_at_top,white,transparent)] opacity-20"
aria-hidden="true"
>
<defs>
<pattern
id="e813992c-7d03-4cc4-a2bd-151760b470a0"
width={180}
height={180}
x="50%"
y={-1}
patternUnits="userSpaceOnUse"
>
<path d="M100 180V.5M.5 .5H180" fill="none" />
</pattern>
</defs>
<rect
width="100%"
height="100%"
strokeWidth={0}
fill="url(#e813992c-7d03-4cc4-a2bd-151760b470a0)"
/>
</svg>
</div>
<div className="flex justify-center mt-10">
<button
className={`mx-2 px-4 py-2 rounded-lg mb-4 ${selectedOption === 0
? "bg-indigo-600 text-white"
: "border border-gray-700 text-gray-300"
}`}
onClick={() => selectOption(0)}
>
Add Projects Directly From GitHub
</button>
<button
className={`mx-2 px-4 py-2 rounded-lg mb-4 ${selectedOption === 1
? "bg-indigo-600 text-white"
: "border border-gray-700 text-gray-300"
}`}
onClick={() => selectOption(1)}
>
Set Up Projects Locally
</button>
</div>
<article className="items-center max-w-5xl mx-auto">
<p className="mb-5 text-xl font-bold tracking-tight text-red-500">
Follow the following steps to add your projects to ProjectsHut:
</p>
<div className="option">{stepsRender}</div>
</article>
</section>
);
}

Expand Down

0 comments on commit ae3a92f

Please sign in to comment.