import { AppPageHeader } from "@/components/layout/app-page-header"; import { AppTopBar } from "@/components/layout/app-top-bar"; import { cn } from "@/lib/utils"; type AppShellProps = { children: React.ReactNode; title?: string; description?: string; wide?: boolean; /** Use remaining viewport height between top bar and bottom nav. */ fillViewport?: boolean; /** Center page content horizontally (pairs well with fillViewport). */ centered?: boolean; }; const contentWidthClass = { default: "max-w-lg lg:max-w-4xl", wide: "max-w-lg lg:max-w-6xl", } as const; export function AppShell({ children, title, description, wide = false, fillViewport = false, centered = false, }: AppShellProps) { return (
{title ? ( ) : null}
{children}
); }