"use client";

import { useParams } from "next/navigation";
import { ChatPanel } from "@/components/vibn-chat/chat-panel";

/**
 * Workspace-level layout.
 *
 * Mounts the slide-out ChatPanel as a fixed-position overlay on every
 * route in this workspace EXCEPT when the user is inside a specific
 * project. Project pages under `(home)` render their own structural
 * ChatPanel with an artifact slot (see `(home)/layout.tsx`); doubling up
 * would mean two chat panels on screen at once.
 */
export default function WorkspaceLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return <div id="workspace-content">{children}</div>;
}
