mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
feat(editor): add WorkspaceEditorHeader to WorkspaceEditorLayout
This commit is contained in:
parent
b173be0a73
commit
5433557225
@ -1,12 +1,16 @@
|
|||||||
|
import WorkspaceEditorHeader from "@/app/(app)/playground/@workspace/@editor/components/header";
|
||||||
import WorkspaceEditorFooter from "@/app/(app)/playground/@workspace/@editor/components/footer";
|
import WorkspaceEditorFooter from "@/app/(app)/playground/@workspace/@editor/components/footer";
|
||||||
|
|
||||||
interface WorkspaceEditorLayoutProps {
|
interface WorkspaceEditorLayoutProps {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function WorkspaceEditorLayout({ children }: WorkspaceEditorLayoutProps) {
|
export default function WorkspaceEditorLayout({
|
||||||
|
children,
|
||||||
|
}: WorkspaceEditorLayoutProps) {
|
||||||
return (
|
return (
|
||||||
<div className="h-full flex flex-col">
|
<div className="h-full flex flex-col">
|
||||||
|
<WorkspaceEditorHeader />
|
||||||
{children}
|
{children}
|
||||||
<WorkspaceEditorFooter />
|
<WorkspaceEditorFooter />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user