更新 暴露create路由,临时增加template组件

This commit is contained in:
moux1024 2025-10-21 23:02:51 +08:00
parent ef52274f6c
commit a93e08cd02
4 changed files with 6 additions and 4 deletions

View File

@ -35,7 +35,7 @@ const FamousTemplate: React.FC = () => {
if (activeTab === "all") return true
const categories = (t.category || "").split(",").map((s) => s.trim().toLowerCase())
return categories.includes(activeTab)
})
}).slice(0, 10)
const topTemplates = filteredTemplates

View File

@ -15,9 +15,9 @@ export const navigationItems: Navigations[] = [
title: 'Main',
items: [
{ name: 'Home', href: '/home', icon: Home },
{ name: 'Create', href: '/create', icon: Plus },
{ name: 'My Portfolio', href: '/movies', icon: BookHeart },
{ name: 'Share', href: '/share', icon: Gift },
{ name: 'Create', href: '/create', icon: Plus },
],
}
];

View File

@ -473,9 +473,9 @@ export default function CreateToVideo2() {
</div>
{/* 视频工具组件 - 使用独立组件 */}
{!isLoading &&
{/* {!isLoading &&
<ChatInputBox noData={episodeList.length === 0} />
}
} */}
{/* 分享弹框 */}
{selectedProject && (

View File

@ -1,6 +1,7 @@
"use client";
import { VideoCreationForm } from './CreateInput';
import FamousTemplate from '@/components/FamousTemplate';
export default function CreateVideo() {
return (
@ -12,6 +13,7 @@ export default function CreateVideo() {
<VideoCreationForm />
</div>
</div>
<FamousTemplate />
</div>
);
}