diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-22 10:05:33 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-22 10:05:33 +0200 |
| commit | f2d27e578e6214598d36779f44fb1612764c7b3b (patch) | |
| tree | e160db6c1a204dfd88baf4ab91421771468ad60f /apps/web/src/app/editor | |
| parent | a0ca5bf7032e3cfe60bd5ed835db745161cdc07b (diff) | |
| download | opencut-f2d27e578e6214598d36779f44fb1612764c7b3b.tar.gz | |
move editor from home to /editor
Diffstat (limited to 'apps/web/src/app/editor')
| -rw-r--r-- | apps/web/src/app/editor/page.tsx | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/apps/web/src/app/editor/page.tsx b/apps/web/src/app/editor/page.tsx new file mode 100644 index 00000000..51a448d9 --- /dev/null +++ b/apps/web/src/app/editor/page.tsx @@ -0,0 +1,48 @@ +import { + ResizablePanelGroup, + ResizablePanel, + ResizableHandle, +} from "../../components/ui/resizable"; +import { MediaPanel } from "../../components/media-panel"; +import { PropertiesPanel } from "../../components/properties-panel"; +import { Timeline } from "../../components/timeline"; +import { PreviewPanel } from "../../components/preview-panel"; + +export default function Editor() { + return ( + <div className="h-screen w-screen flex flex-col bg-background"> + <ResizablePanelGroup direction="vertical"> + <ResizablePanel defaultSize={50} minSize={30}> + {/* Main content area */} + <ResizablePanelGroup direction="horizontal"> + {/* Tools Panel */} + <ResizablePanel defaultSize={20} minSize={15}> + <MediaPanel /> + </ResizablePanel> + + <ResizableHandle withHandle /> + + {/* Preview Area */} + <ResizablePanel defaultSize={60}> + <PreviewPanel /> + </ResizablePanel> + + <ResizableHandle withHandle /> + + {/* Properties Panel */} + <ResizablePanel defaultSize={20} minSize={15}> + <PropertiesPanel /> + </ResizablePanel> + </ResizablePanelGroup> + </ResizablePanel> + + <ResizableHandle withHandle /> + + {/* Timeline */} + <ResizablePanel defaultSize={50} minSize={15}> + <Timeline /> + </ResizablePanel> + </ResizablePanelGroup> + </div> + ); +} |
