From a14087b3951506c021a68464c33f928da086ae5b Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Sat, 8 Mar 2025 21:28:11 +0800 Subject: [PATCH] feat(workspace): add editor layout with footer for problem page --- .../problems/[id]/@workspace/@editor/layout.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/app/(app)/problems/[id]/@workspace/@editor/layout.tsx diff --git a/src/app/(app)/problems/[id]/@workspace/@editor/layout.tsx b/src/app/(app)/problems/[id]/@workspace/@editor/layout.tsx new file mode 100644 index 0000000..36c8a63 --- /dev/null +++ b/src/app/(app)/problems/[id]/@workspace/@editor/layout.tsx @@ -0,0 +1,16 @@ +import WorkspaceEditorFooter from "@/features/playground/workspace/editor/footer"; + +interface WorkspaceEditorLayoutProps { + children: React.ReactNode; +} + +export default function WorkspaceEditorLayout({ + children, +}: WorkspaceEditorLayoutProps) { + return ( +
+
{children}
+ +
+ ); +}