From 54e990af26adb6e4ce467a0e9e511e52acc865e1 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Sat, 9 Aug 2025 11:02:01 +0200 Subject: Merge pull request [#514](https://github.com/mazeincoding/AppCut/issues/514) --- apps/web/src/app/editor/[project_id]/page.tsx | 344 +++++++++++++++++++++----- 1 file changed, 288 insertions(+), 56 deletions(-) (limited to 'apps/web/src/app') diff --git a/apps/web/src/app/editor/[project_id]/page.tsx b/apps/web/src/app/editor/[project_id]/page.tsx index cae8e779..4d5a27fc 100644 --- a/apps/web/src/app/editor/[project_id]/page.tsx +++ b/apps/web/src/app/editor/[project_id]/page.tsx @@ -30,6 +30,8 @@ export default function Editor() { setTimeline, propertiesPanel, setPropertiesPanel, + activePreset, + resetCounter, } = usePanelStore(); const { @@ -153,72 +155,302 @@ export default function Editor() {
- - - {/* Main content area */} - - {/* Tools Panel */} - + + + + + + - - + + + + + + + - + + + + + - {/* Preview Area */} - + + + + + + + + ) : activePreset === "inspector" ? ( + + setPropertiesPanel(100 - size)} + className="min-w-0 min-h-0" + > + - - + + + + + + + - + + + + + - + + + + + + + + + + + + + + ) : activePreset === "vertical-preview" ? ( + + setPreviewPanel(100 - size)} + className="min-w-0 min-h-0" + > + - - - - - - - - {/* Timeline */} - + + + + + + + + + + + + + + + + + + + + + + + + + + + + ) : ( + - - - + + {/* Main content area */} + + {/* Tools Panel */} + + + + + + + {/* Preview Area */} + + + + + + + + + + + + + + + {/* Timeline */} + + + + + )}
-- cgit v1.3.1