"use client"; import Link from "next/link"; import { Button } from "./ui/button"; import { ChevronLeft, Download } from "lucide-react"; import { useTimelineStore } from "@/stores/timeline-store"; import { HeaderBase } from "./header-base"; import { ProjectNameEditor } from "./editor/project-name-editor"; import { formatTimeCode } from "@/lib/time"; export function EditorHeader() { const { getTotalDuration } = useTimelineStore(); const handleExport = () => { // TODO: Implement export functionality console.log("Export project"); }; const leftContent = (
); const centerContent = (
{formatTimeCode(getTotalDuration(), "HH:MM:SS:CS")}
); const rightContent = ( ); return ( ); }