"use client";

// ============================================================================
// Dashboard Layout Content
// ============================================================================

import { useWorkspace } from "@/components/providers/workspace-provider";
import { DemoBanner } from "@/components/demo-banner";

interface DashboardLayoutContentProps {
  children: React.ReactNode;
}

export const DashboardLayoutContent: React.FC<DashboardLayoutContentProps> = ({
  children,
}) => {
  const { isDemoMode } = useWorkspace();

  return (
    <div className="flex flex-col h-full">
      {isDemoMode && <DemoBanner />}
      <div className="flex-1 overflow-auto">{children}</div>
    </div>
  );
};

