2025-03-07 07:36:03 +00:00
|
|
|
import { Banner } from "@/components/banner";
|
2025-03-12 13:17:14 +00:00
|
|
|
import { AvatarButton } from "@/components/avatar-button";
|
2025-03-07 07:36:03 +00:00
|
|
|
|
|
|
|
interface ProblemsetLayoutProps {
|
|
|
|
children: React.ReactNode;
|
|
|
|
}
|
|
|
|
|
|
|
|
export default function ProblemsetLayout({ children }: ProblemsetLayoutProps) {
|
|
|
|
return (
|
2025-03-12 13:17:14 +00:00
|
|
|
<div className="relative flex flex-col">
|
2025-03-07 07:36:03 +00:00
|
|
|
<Banner />
|
2025-03-12 13:17:14 +00:00
|
|
|
<div className="absolute top-2 right-4">
|
|
|
|
<AvatarButton />
|
|
|
|
</div>
|
2025-03-07 07:36:03 +00:00
|
|
|
<main className="container mx-auto p-4">
|
|
|
|
{children}
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|