mirror of
https://gitlab.massbug.com/massbug/judge4c.git
synced 2025-07-04 09:22:13 +00:00
feat(dashboard): simplify layout by removing unnecessary elements and adjusting padding
This commit is contained in:
parent
0475dab559
commit
2e5f76953a
@ -23,7 +23,7 @@ export default function DashboardLayout({ children }: DashboardLayoutProps) {
|
|||||||
<Navbar />
|
<Navbar />
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div className="flex flex-1 flex-col p-4 pt-0">{children}</div>
|
<main className="flex flex-col p-4">{children}</main>
|
||||||
</SidebarInset>
|
</SidebarInset>
|
||||||
</SidebarProvider>
|
</SidebarProvider>
|
||||||
);
|
);
|
||||||
|
@ -8,13 +8,7 @@ export default async function DashboardPage() {
|
|||||||
if (!user) redirect("/sign-in");
|
if (!user) redirect("/sign-in");
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="h-full flex flex-col p-4 pt-0 gap-4">
|
<div className="h-full px-4">
|
||||||
<div className="flex-col hidden lg:flex">
|
|
||||||
<h1 className="text-2xl font-semibold">Home</h1>
|
|
||||||
<p className="text-muted-foreground">
|
|
||||||
Monitor all of your projects and tasks here
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<CreateWorkspaceForm />
|
<CreateWorkspaceForm />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -82,7 +82,6 @@ export const CreateWorkspaceForm = ({ onCancel }: CreateWorkspaceFormProps) => {
|
|||||||
</form>
|
</form>
|
||||||
</Form>
|
</Form>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
<CardContent className="p-7"></CardContent>
|
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user