From c6ab92e1e739b7c88ffd7bafe675bde5685afd55 Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Sat, 8 Mar 2025 19:44:45 +0800 Subject: [PATCH] feat(problems): add footer to problem description layout --- .../[id]/@problem/@description/layout.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/app/(app)/problems/[id]/@problem/@description/layout.tsx diff --git a/src/app/(app)/problems/[id]/@problem/@description/layout.tsx b/src/app/(app)/problems/[id]/@problem/@description/layout.tsx new file mode 100644 index 0000000..d18b867 --- /dev/null +++ b/src/app/(app)/problems/[id]/@problem/@description/layout.tsx @@ -0,0 +1,16 @@ +import ProblemDescriptionFooter from "@/features/workspace/problem/description/footer"; + +interface ProblemDescriptionLayoutProps { + children: React.ReactNode; +} + +export default function ProblemDescriptionLayout({ + children, +}: ProblemDescriptionLayoutProps) { + return ( +
+
{children}
+ +
+ ); +}