MCPcopy Create free account
hub / github.com/MagicCube/agentara / RootLayout

Function RootLayout

web/src/app/__root.tsx:20–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18});
19
20function RootLayout() {
21 return (
22 <SidebarProvider>
23 <AppSidebar />
24 <SidebarInset className="h-screen">
25 <header className="flex h-12 shrink-0 items-center gap-2 border-b px-4">
26 <SidebarTrigger className="-ml-1" />
27 <Separator orientation="vertical" className="mr-2 h-4" />
28 <AppBreadcrumb />
29 <div className="ml-auto">
30 <ThemeToggle />
31 </div>
32 </header>
33 <div className="flex flex-1 min-h-0 flex-col">
34 <Outlet />
35 </div>
36 </SidebarInset>
37 <Toaster position="top-center" />
38 </SidebarProvider>
39 );
40}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected