mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
feat(workspace): add editor layout with footer for problem page
This commit is contained in:
parent
7f94f6a15b
commit
a14087b395
16
src/app/(app)/problems/[id]/@workspace/@editor/layout.tsx
Normal file
16
src/app/(app)/problems/[id]/@workspace/@editor/layout.tsx
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import WorkspaceEditorFooter from "@/features/playground/workspace/editor/footer";
|
||||||
|
|
||||||
|
interface WorkspaceEditorLayoutProps {
|
||||||
|
children: React.ReactNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function WorkspaceEditorLayout({
|
||||||
|
children,
|
||||||
|
}: WorkspaceEditorLayoutProps) {
|
||||||
|
return (
|
||||||
|
<div className="h-full flex flex-col">
|
||||||
|
<div className="flex-1">{children}</div>
|
||||||
|
<WorkspaceEditorFooter />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user