mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
feat(playground): add submission layout component
This commit is contained in:
parent
dc6794b0ca
commit
83deae7a02
16
src/app/(app)/playground/@problem/@submission/layout.tsx
Normal file
16
src/app/(app)/playground/@problem/@submission/layout.tsx
Normal file
@ -0,0 +1,16 @@
|
||||
import ProblemSubmissionFooter from "./components/footer";
|
||||
|
||||
interface ProblemSubmissionLayoutProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export default function ProblemSubmissionLayout({
|
||||
children,
|
||||
}: ProblemSubmissionLayoutProps) {
|
||||
return (
|
||||
<div className="h-full flex flex-col">
|
||||
<div className="flex-1">{children}</div>
|
||||
<ProblemSubmissionFooter />
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user