From 83deae7a027fe98a01b903d431833a826f6f9d8d Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Sat, 1 Mar 2025 19:28:36 +0800 Subject: [PATCH] feat(playground): add submission layout component --- .../playground/@problem/@submission/layout.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/app/(app)/playground/@problem/@submission/layout.tsx diff --git a/src/app/(app)/playground/@problem/@submission/layout.tsx b/src/app/(app)/playground/@problem/@submission/layout.tsx new file mode 100644 index 0000000..438f5e3 --- /dev/null +++ b/src/app/(app)/playground/@problem/@submission/layout.tsx @@ -0,0 +1,16 @@ +import ProblemSubmissionFooter from "./components/footer"; + +interface ProblemSubmissionLayoutProps { + children: React.ReactNode; +} + +export default function ProblemSubmissionLayout({ + children, +}: ProblemSubmissionLayoutProps) { + return ( +
+
{children}
+ +
+ ); +}