mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
feat(admin/problemset): add new problem creation pages
This commit is contained in:
parent
623e4929ac
commit
901e2aa487
@ -0,0 +1,5 @@
|
||||
import NewProblemDescriptionForm from "@/components/features/dashboard/admin/problemset/new/components/description-form";
|
||||
|
||||
export default function NewProblemDescriptionPage() {
|
||||
return <NewProblemDescriptionForm />;
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
import NewProblemMetadataForm from "@/components/features/dashboard/admin/problemset/new/components/metadata-form";
|
||||
|
||||
export default function NewProblemMetadataPage() {
|
||||
return <NewProblemMetadataForm />;
|
||||
}
|
5
src/app/(app)/dashboard/@admin/problemset/new/page.tsx
Normal file
5
src/app/(app)/dashboard/@admin/problemset/new/page.tsx
Normal file
@ -0,0 +1,5 @@
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export default function NewProblemPage() {
|
||||
redirect("/dashboard/problemset/new/metadata");
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
import NewProblemSolutionForm from "@/components/features/dashboard/admin/problemset/new/components/solution-form";
|
||||
|
||||
export default function NewProblemSolutionPage() {
|
||||
return <NewProblemSolutionForm />;
|
||||
}
|
Loading…
Reference in New Issue
Block a user