diff --git a/frontend/apps/artcraft-webapp/package.json b/frontend/apps/artcraft-webapp/package.json index 2c1a2270df..059c5104d0 100644 --- a/frontend/apps/artcraft-webapp/package.json +++ b/frontend/apps/artcraft-webapp/package.json @@ -3,6 +3,10 @@ "version": "0.0.1", "private": true, "dependencies": { + "@storyteller/ui-gallery-modal": "workspace:*", + "@storyteller/ui-pricing-table": "workspace:*", + "@storyteller/ui-video-editor": "workspace:*", + "react-aria": "^3.48.0", "react-masonry-css": "^1.0.16" } } diff --git a/frontend/apps/artcraft-webapp/src/app/app.tsx b/frontend/apps/artcraft-webapp/src/app/app.tsx index fd509d619f..a2155462ce 100644 --- a/frontend/apps/artcraft-webapp/src/app/app.tsx +++ b/frontend/apps/artcraft-webapp/src/app/app.tsx @@ -16,6 +16,7 @@ import CreateImage from "../pages/create-image"; import CreateVideo from "../pages/create-video"; import CreateVFX from "../pages/create-vfx"; import PageScene from "../pages/pagescene"; +import VideoEditorPage from "../pages/video-editor"; import Pricing from "../pages/pricing"; import Support from "../pages/support/support"; import Login from "../pages/login"; @@ -87,13 +88,17 @@ function ProtectedContent() { ? "var(--sidebar-width)" : "calc(var(--sidebar-width-icon) + 1.5rem)"; - // The Edit 3D editor hosts the header's actions (pricing/credits/task - // queue/profile) inside its own canvas toolbar to reclaim vertical - // space, so the global header is hidden there — desktop only, since the - // mobile route shows a gate that still needs the header's nav chrome. + // The Edit 3D and video editors host the header's actions + // (pricing/credits/task queue/profile) inside their own toolbar/header to + // reclaim vertical space, so the global header is hidden there — desktop + // only, since the mobile route shows a gate that still needs the header's + // nav chrome. const hideTopBar = !isMobile && - (pathname === "/edit-3d" || pathname.startsWith("/edit-3d/")); + (pathname === "/edit-3d" || + pathname.startsWith("/edit-3d/") || + pathname === "/video-editor" || + pathname.startsWith("/video-editor/")); return (
} />