feat: global platform v2 update

This commit is contained in:
ivannoskov
2025-12-29 10:12:13 +03:00
parent 8e6a1fa83f
commit f64cf02100
84 changed files with 11023 additions and 11486 deletions

View File

@@ -0,0 +1,26 @@
"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>
);
};