diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-22 10:02:50 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-22 10:02:50 +0200 |
| commit | 87a83a5604b20550430ef4eefbcd573d309694e2 (patch) | |
| tree | 7ed86f00b8414cb6543f5c5ac98ea6e9abd2e10f /apps/web/src/app/page.tsx | |
| download | opencut-87a83a5604b20550430ef4eefbcd573d309694e2.tar.gz | |
Initial commit
Diffstat (limited to 'apps/web/src/app/page.tsx')
| -rw-r--r-- | apps/web/src/app/page.tsx | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx new file mode 100644 index 00000000..b43a6838 --- /dev/null +++ b/apps/web/src/app/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 VideoEditor() { + 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> + ); +} |
