refactor: overhaul timeline component, separate into different files

This commit is contained in:
Maze Winther
2025-06-24 17:51:34 +02:00
parent c3df43b8c8
commit 2aa37920d5
8 changed files with 1944 additions and 1830 deletions

View File

@ -8,8 +8,7 @@ import {
ResizableHandle,
} from "../../components/ui/resizable";
import { MediaPanel } from "../../components/editor/media-panel";
// import { PropertiesPanel } from "../../components/editor/properties-panel";
import { Timeline } from "../../components/editor/timeline";
import { Timeline } from "../../components/editor/timeline/timeline";
import { PreviewPanel } from "../../components/editor/preview-panel";
import { EditorHeader } from "@/components/editor-header";
import { usePanelStore } from "@/stores/panel-store";
@ -55,7 +54,10 @@ export default function Editor() {
className="min-h-0"
>
{/* Main content area */}
<ResizablePanelGroup direction="horizontal" className="h-full w-full">
<ResizablePanelGroup
direction="horizontal"
className="h-full w-full"
>
{/* Tools Panel */}
<ResizablePanel
defaultSize={toolsPanel}