diff --git a/src/app/(app)/playground/@workspace/components/footer.tsx b/src/app/(app)/playground/@workspace/@editor/components/footer.tsx similarity index 88% rename from src/app/(app)/playground/@workspace/components/footer.tsx rename to src/app/(app)/playground/@workspace/@editor/components/footer.tsx index 79c58fa..b394351 100644 --- a/src/app/(app)/playground/@workspace/components/footer.tsx +++ b/src/app/(app)/playground/@workspace/@editor/components/footer.tsx @@ -4,11 +4,11 @@ import { cn } from "@/lib/utils"; import { useEffect, useState } from "react"; import { useCodeEditorState } from "@/store/useCodeEditor"; -interface WorkspaceFooterProps { +interface WorkspaceEditorFooterProps { className?: string; } -export default function WorkspaceFooter({ className, ...props }: WorkspaceFooterProps) { +export default function WorkspaceEditorFooter({ className, ...props }: WorkspaceEditorFooterProps) { const { editor } = useCodeEditorState(); const [position, setPosition] = useState<{ lineNumber: number; column: number } | null>(null); diff --git a/src/app/(app)/playground/@workspace/@editor/layout.tsx b/src/app/(app)/playground/@workspace/@editor/layout.tsx new file mode 100644 index 0000000..a0296a4 --- /dev/null +++ b/src/app/(app)/playground/@workspace/@editor/layout.tsx @@ -0,0 +1,14 @@ +import WorkspaceEditorFooter from "@/app/(app)/playground/@workspace/@editor/components/footer"; + +interface WorkspaceEditorLayoutProps { + children: React.ReactNode; +} + +export default function WorkspaceEditorLayout({ children }: WorkspaceEditorLayoutProps) { + return ( +