diff options
Diffstat (limited to 'apps/web/src/components/editor/media-panel/index.tsx')
| -rw-r--r-- | apps/web/src/components/editor/media-panel/index.tsx | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/apps/web/src/components/editor/media-panel/index.tsx b/apps/web/src/components/editor/media-panel/index.tsx deleted file mode 100644 index 89b53b64..00000000 --- a/apps/web/src/components/editor/media-panel/index.tsx +++ /dev/null @@ -1,52 +0,0 @@ -"use client"; - -import { TabBar } from "./tabbar"; -import { MediaView } from "./views/media"; -import { useMediaPanelStore, Tab } from "./store"; -import { TextView } from "./views/text"; -import { SoundsView } from "./views/sounds"; -import { StickersView } from "./views/stickers"; -import { Separator } from "@/components/ui/separator"; -import { SettingsView } from "./views/settings"; -import { Captions } from "./views/captions"; - -export function MediaPanel() { - const { activeTab } = useMediaPanelStore(); - - const viewMap: Record<Tab, React.ReactNode> = { - media: <MediaView />, - sounds: <SoundsView />, - text: <TextView />, - stickers: <StickersView />, - effects: ( - <div className="p-4 text-muted-foreground"> - Effects view coming soon... - </div> - ), - transitions: ( - <div className="p-4 text-muted-foreground"> - Transitions view coming soon... - </div> - ), - captions: <Captions />, - filters: ( - <div className="p-4 text-muted-foreground"> - Filters view coming soon... - </div> - ), - adjustment: ( - <div className="p-4 text-muted-foreground"> - Adjustment view coming soon... - </div> - ), - settings: <SettingsView />, - }; - - return ( - <div className="h-full flex bg-panel"> - <TabBar /> - <Separator orientation="vertical" /> - <div className="flex-1 overflow-hidden">{viewMap[activeTab]}</div> - </div> - ); -} |
