mirror of
https://github.com/AnmolSaini16/mapcn
synced 2026-04-26 16:34:54 +02:00
feat: add blocks showcase and restructure app
This commit is contained in:
17
src/app/(main)/docs/layout.tsx
Normal file
17
src/app/(main)/docs/layout.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { SidebarProvider } from "@/components/ui/sidebar";
|
||||
import { DocsSidebar } from "./_components/docs-sidebar";
|
||||
|
||||
export default function DocsLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<div className="container flex flex-col flex-1">
|
||||
<SidebarProvider>
|
||||
<DocsSidebar />
|
||||
<main className="size-full">{children}</main>
|
||||
</SidebarProvider>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user