{children}
import type { ReactNode } from "react";
import { ActivityAside } from "@/components/ActivityAside";
import { Footer } from "@/components/Footer";
import { cn } from "@/lib/utils";
/**
* Centre + right panel of the console (PEP-38). The page decides what the right panel shows;
* without `aside` it gets the default activity panel, `aside={null}` hides it.
* Below xl the panel goes under the page content (`asideWideOnly`: shown on xl only), the footer is always last.
*/
export function Workspace({ children, aside, asideWideOnly = false }: { children: ReactNode; aside?: ReactNode; asideWideOnly?: boolean }) {
const panel = aside === undefined ?