"use client"; import StudioSidebar from "./StudioSidebar"; import StudioEditor from "./StudioEditor"; import StudioRightPanel from "./StudioRightPanel"; import StudioBottomPanel from "./StudioBottomPanel"; import StudioNetworkViz from "./StudioNetworkViz"; import { useState } from "react"; import { toast } from "sonner"; export default function StudioLayout({ children }: { children?: React.ReactNode }) { const [platform, setPlatform] = useState("Roblox"); const [actionsOpen, setActionsOpen] = useState(false); const handlePlatformChange = (e: React.ChangeEvent) => { setPlatform(e.target.value); toast.success(`Platform changed to ${e.target.value}`); }; const handleAction = (action: string) => { toast.info(`${action} action triggered!`); setActionsOpen(false); }; return (
{/* Title Bar */}
AETHEX STUDIO
Project: AeThex Terminal
Platform:
{actionsOpen && (
)}
{/* Legend */}
Foundation Corporation Labs
{children}
); }