-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
792562a
commit d82ba12
Showing
242 changed files
with
27,981 additions
and
25,836 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
{ | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"next/typescript" | ||
], | ||
"rules": { | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"react-hooks/exhaustive-deps": "warn", | ||
"react/no-unescaped-entities": "warn" | ||
} | ||
"extends": ["next/core-web-vitals", "next/typescript"], | ||
"rules": { | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"react-hooks/exhaustive-deps": "warn", | ||
"react/no-unescaped-entities": "warn" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "new-york", | ||
"rsc": true, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.ts", | ||
"css": "src/app/globals.css", | ||
"baseColor": "zinc", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils", | ||
"ui": "@/components/ui", | ||
"lib": "@/lib", | ||
"hooks": "@/hooks" | ||
} | ||
} | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "new-york", | ||
"rsc": true, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.ts", | ||
"css": "src/app/globals.css", | ||
"baseColor": "zinc", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils", | ||
"ui": "@/components/ui", | ||
"lib": "@/lib", | ||
"hooks": "@/hooks" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const config = { | ||
output: 'standalone', | ||
experimental: { | ||
serverActions: { | ||
bodySizeLimit: '2mb', | ||
}, | ||
}, | ||
serverExternalPackages: ['@prisma/client'], | ||
webpack: (config, { isServer }) => { | ||
if (isServer) { | ||
config.externals = [...(config.externals || []), '@prisma/client']; | ||
} | ||
return config; | ||
}, | ||
}; | ||
output: 'standalone', | ||
experimental: { | ||
serverActions: { | ||
bodySizeLimit: '2mb', | ||
}, | ||
}, | ||
serverExternalPackages: ['@prisma/client'], | ||
webpack: (config, { isServer }) => { | ||
if (isServer) { | ||
config.externals = [...(config.externals || []), '@prisma/client'] | ||
} | ||
return config | ||
}, | ||
} | ||
|
||
export default config; | ||
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/** @type {import('postcss-load-config').Config} */ | ||
const config = { | ||
plugins: { | ||
tailwindcss: {}, | ||
}, | ||
}; | ||
plugins: { | ||
tailwindcss: {}, | ||
}, | ||
} | ||
|
||
export default config; | ||
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { ManageDiscussionTopicsComponent } from "@/components/ManageDiscussionTopics"; | ||
import { Metadata } from "next"; | ||
import { ManageDiscussionTopicsComponent } from '@/components/ManageDiscussionTopics' | ||
import { Metadata } from 'next' | ||
|
||
export const metadata: Metadata = { | ||
title: "Manage Discussion Topics | MEF Admin", | ||
description: "Manage discussion topics and reviewer groups", | ||
}; | ||
title: 'Manage Discussion Topics | MEF Admin', | ||
description: 'Manage discussion topics and reviewer groups', | ||
} | ||
|
||
export default function ManageDiscussionTopicsPage() { | ||
return <ManageDiscussionTopicsComponent />; | ||
} | ||
return <ManageDiscussionTopicsComponent /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
import { AddEditDiscussionTopicComponent } from "@/components/CreateUpdateDiscussionTopic"; | ||
import { Metadata } from "next"; | ||
import { AddEditDiscussionTopicComponent } from '@/components/CreateUpdateDiscussionTopic' | ||
import { Metadata } from 'next' | ||
|
||
export const metadata: Metadata = { | ||
title: "Manage Discussion Topic | MEF Admin", | ||
description: "Create or edit discussion topics", | ||
}; | ||
title: 'Manage Discussion Topic | MEF Admin', | ||
description: 'Create or edit discussion topics', | ||
} | ||
|
||
interface PageProps { | ||
params: Promise<{ | ||
id: string; | ||
}>; | ||
params: Promise<{ | ||
id: string | ||
}> | ||
} | ||
|
||
export default async function ManageDiscussionTopicPage({ params }: PageProps) { | ||
return ( | ||
<AddEditDiscussionTopicComponent | ||
topicId={(await params).id === "new" ? null : (await params).id} | ||
/> | ||
); | ||
} | ||
return ( | ||
<AddEditDiscussionTopicComponent | ||
topicId={(await params).id === 'new' ? null : (await params).id} | ||
/> | ||
) | ||
} |
Oops, something went wrong.