Skip to content

Commit

Permalink
Added contributor page
Browse files Browse the repository at this point in the history
  • Loading branch information
Sawan-Kushwah committed Oct 29, 2024
1 parent 72f0237 commit 7cd425a
Show file tree
Hide file tree
Showing 8 changed files with 858 additions and 4 deletions.
26 changes: 26 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"bcryptjs": "^2.4.3",
"drizzle-kit": "^0.24.2",
"drizzle-orm": "^0.33.0",
"framer-motion": "^11.11.10",
"next": "14.2.5",
"next-auth": "^5.0.0-beta.22",
"nodemailer": "^6.9.15",
Expand Down
12 changes: 12 additions & 0 deletions src/app/contributors/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import ContributorPage from '@/components/ui/ContributorPage'
import React from 'react'

const page = () => {
return (
<>
<ContributorPage />
</>
)
}

export default page
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default async function RootLayout({
}>) {
const session = await auth();
const h = headers();
const pathname = h.get("x-current-path");
const pathname = h.get("x-current-path") || "";

if (session) {
if (!session.user?.emailVerified) {
Expand Down
Loading

0 comments on commit 7cd425a

Please sign in to comment.