diff --git a/app/w/components/console/console.tsx b/app/w/components/console/console.tsx new file mode 100644 index 0000000000..37244c6097 --- /dev/null +++ b/app/w/components/console/console.tsx @@ -0,0 +1,49 @@ +'use client' + +import { useState } from 'react' +import { PanelLeftClose, PanelLeft, Terminal } from 'lucide-react' +import { + Tooltip, + TooltipContent, + TooltipTrigger, +} from '@/components/ui/tooltip' + +export function Console() { + const [isCollapsed, setIsCollapsed] = useState(false) + + if (isCollapsed) { + return ( + + + + + Open Console + + ) + } + + return ( +
+ {/* Console content will go here */} + + + + + + Close Console + +
+ ) +} diff --git a/app/w/layout.tsx b/app/w/layout.tsx index a34988db85..9c8bce0548 100644 --- a/app/w/layout.tsx +++ b/app/w/layout.tsx @@ -2,6 +2,7 @@ import Providers from './providers' import { Toolbar } from './components/toolbar/toolbar' import { ControlBar } from './components/control-bar/control-bar' import { Sidebar } from './components/sidebar/sidebar' +import { Console } from './components/console/console' export default function WorkspaceLayout({ children, @@ -18,6 +19,7 @@ export default function WorkspaceLayout({
+
{children}