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";
|
||||
|
||||
interface WorkspaceEditorLayoutProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export default function WorkspaceEditorLayout({ children }: WorkspaceEditorLayoutProps) {
|
||||
export default function WorkspaceEditorLayout({
|
||||
children,
|
||||
}: WorkspaceEditorLayoutProps) {
|
||||
return (
|
||||
<div className="h-full flex flex-col">
|
||||
<WorkspaceEditorHeader />
|
||||
{children}
|
||||
<WorkspaceEditorFooter />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user