From 3a6bc6ebf71475a19b9202061ab08f93d1a67b9f Mon Sep 17 00:00:00 2001 From: enkeii64 Date: Mon, 4 Aug 2025 17:38:02 +1000 Subject: feat: add panel presets --- apps/web/src/app/editor/[project_id]/page.tsx | 343 +++++++++++++++++++++----- 1 file changed, 287 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 03579144..f5e64a93 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,301 @@ export default function Editor() {
- - - {/* Main content area */} - + + + + + + - {/* Tools Panel */} - - - + + + + + - + - {/* Preview Area */} - + + + + + + + + + + + + + + ) : activePreset === "inspector" ? ( + + + - - + + + + + - + - + + + + + + + + + + + + + + + + + + + + ) : activePreset === "vertical-preview" ? ( + + + - - - - - - - - {/* Timeline */} - + + + + + + + + + + + + + + + + + + + + + + + + + + + + ) : ( + - - - + + {/* Main content area */} + + {/* Tools Panel */} + + + + + + + {/* Preview Area */} + + + + + + + + + + + + + + + {/* Timeline */} + + + + + )}
-- cgit v1.3.1