add app shell with top bar, view routing, and board factory
This commit is contained in:
18
src/components/layout/AppShell.tsx
Normal file
18
src/components/layout/AppShell.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import type { ReactNode } from "react";
|
||||
import { TooltipProvider } from "@/components/ui/tooltip";
|
||||
import { TopBar } from "@/components/layout/TopBar";
|
||||
|
||||
interface AppShellProps {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
export function AppShell({ children }: AppShellProps) {
|
||||
return (
|
||||
<TooltipProvider>
|
||||
<div className="flex h-screen flex-col bg-pylon-bg">
|
||||
<TopBar />
|
||||
<main className="flex-1 overflow-hidden">{children}</main>
|
||||
</div>
|
||||
</TooltipProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user