mirror of
https://github.com/massbug/judge4c.git
synced 2026-10-15 15:17:31 +00:00
feat(problems): add footer to problem description layout
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
import ProblemDescriptionFooter from "@/features/workspace/problem/description/footer";
|
||||||
|
|
||||||
|
interface ProblemDescriptionLayoutProps {
|
||||||
|
children: React.ReactNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function ProblemDescriptionLayout({
|
||||||
|
children,
|
||||||
|
}: ProblemDescriptionLayoutProps) {
|
||||||
|
return (
|
||||||
|
<div className="h-full flex flex-col">
|
||||||
|
<div className="flex-1">{children}</div>
|
||||||
|
<ProblemDescriptionFooter />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user