Spaces:
Sleeping
Sleeping
| import type { ReactNode } from 'react'; | |
| import { Sidebar } from './Sidebar'; | |
| import { TopBar } from './TopBar'; | |
| export function AppShell({ children }: { children: ReactNode }) { | |
| return ( | |
| <div className="flex h-screen overflow-hidden bg-void"> | |
| <Sidebar /> | |
| <div className="flex flex-1 flex-col overflow-hidden"> | |
| <TopBar /> | |
| <main className="flex-1 overflow-auto p-6">{children}</main> | |
| </div> | |
| </div> | |
| ); | |
| } | |