diff --git a/app/create/layout.tsx b/app/movies/layout.tsx similarity index 100% rename from app/create/layout.tsx rename to app/movies/layout.tsx diff --git a/app/create/page.tsx b/app/movies/page.tsx similarity index 100% rename from app/create/page.tsx rename to app/movies/page.tsx diff --git a/app/create/work-flow/page.tsx b/app/movies/work-flow/page.tsx similarity index 100% rename from app/create/work-flow/page.tsx rename to app/movies/work-flow/page.tsx diff --git a/components/ChatInputBox/ChatInputBox.tsx b/components/ChatInputBox/ChatInputBox.tsx index de7a5bf..981ec00 100644 --- a/components/ChatInputBox/ChatInputBox.tsx +++ b/components/ChatInputBox/ChatInputBox.tsx @@ -150,7 +150,7 @@ const RenderTemplateStoryMode = ({ ); if (projectId) { // 跳转到电影详情页 - router.push(`/create/work-flow?episodeId=${projectId}`); + router.push(`/movies/work-flow?episodeId=${projectId}`); onClose(); // 重置状态 setSelectedTemplate(null); @@ -853,7 +853,7 @@ export function ChatInputBox({ noData }: { noData: boolean }) { episodeData ); const episodeId = result.project_id; - router.push(`/create/work-flow?episodeId=${episodeId}`); + router.push(`/movies/work-flow?episodeId=${episodeId}`); } catch (error) { console.error("创建剧集失败:", error); } finally { @@ -1262,7 +1262,7 @@ const PhotoStoryModal = ({ if (!episodeResponse) return; let episodeId = episodeResponse.project_id; // let episodeId = '9c34fcc4-c8d8-44fc-879e-9bd56f608c76'; - router.push(`/create/work-flow?episodeId=${episodeId}`); + router.push(`/movies/work-flow?episodeId=${episodeId}`); // 成功后关闭弹窗 handleClose(); } catch (error) { diff --git a/components/layout/sidebar.tsx b/components/layout/sidebar.tsx index f917513..aba8bb0 100644 --- a/components/layout/sidebar.tsx +++ b/components/layout/sidebar.tsx @@ -32,7 +32,7 @@ const navigationItems = [ { title: 'Main', items: [ - { name: 'My Portfolio', href: '/create', icon: BookHeart }, + { name: 'My Portfolio', href: '/movies', icon: BookHeart }, ], } ]; diff --git a/components/layout/top-bar.tsx b/components/layout/top-bar.tsx index fc43ccb..5331f58 100644 --- a/components/layout/top-bar.tsx +++ b/components/layout/top-bar.tsx @@ -213,7 +213,7 @@ export function TopBar({ collapsed }: { collapsed: boolean }) {