mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
feat(problems): add footer to problem description layout
This commit is contained in:
parent
e0adfa3075
commit
c6ab92e1e7
16
src/app/(app)/problems/[id]/@problem/@description/layout.tsx
Normal file
16
src/app/(app)/problems/[id]/@problem/@description/layout.tsx
Normal file
@ -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>
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user