mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-17 23:12:23 +00:00
feat(problemset-layout): add AvatarButton to problemset layout
This commit is contained in:
parent
171ee8abdc
commit
e6b4be4758
@ -1,4 +1,5 @@
|
||||
import { Banner } from "@/components/banner";
|
||||
import { AvatarButton } from "@/components/avatar-button";
|
||||
|
||||
interface ProblemsetLayoutProps {
|
||||
children: React.ReactNode;
|
||||
@ -6,8 +7,11 @@ interface ProblemsetLayoutProps {
|
||||
|
||||
export default function ProblemsetLayout({ children }: ProblemsetLayoutProps) {
|
||||
return (
|
||||
<div className="flex flex-col">
|
||||
<div className="relative flex flex-col">
|
||||
<Banner />
|
||||
<div className="absolute top-2 right-4">
|
||||
<AvatarButton />
|
||||
</div>
|
||||
<main className="container mx-auto p-4">
|
||||
{children}
|
||||
</main>
|
||||
|
Loading…
Reference in New Issue
Block a user