mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-19 07:51:17 +00:00
feat(layout): add ProblemsetLayout component with Banner and main content wrapper
This commit is contained in:
parent
b2e358de1b
commit
0e8639212e
16
src/app/(app)/problemset/layout.tsx
Normal file
16
src/app/(app)/problemset/layout.tsx
Normal file
@ -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>
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user