mirror of
https://github.com/massbug/judge4c.git
synced 2026-10-15 15:17:31 +00:00
feat(layout): add ProblemsetLayout component with Banner and main content wrapper
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
import { Banner } from "@/components/banner";
|
||||||
|
|
||||||
|
interface ProblemsetLayoutProps {
|
||||||
|
children: React.ReactNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function ProblemsetLayout({ children }: ProblemsetLayoutProps) {
|
||||||
|
return (
|
||||||
|
<div className="flex flex-col">
|
||||||
|
<Banner />
|
||||||
|
<main className="container mx-auto p-4">
|
||||||
|
{children}
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user