forked from 77media/video-flow
更新 暴露create路由,临时增加template组件
This commit is contained in:
parent
ef52274f6c
commit
a93e08cd02
@ -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
|
||||
|
||||
|
||||
@ -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 },
|
||||
],
|
||||
}
|
||||
];
|
||||
@ -473,9 +473,9 @@ export default function CreateToVideo2() {
|
||||
</div>
|
||||
|
||||
{/* 视频工具组件 - 使用独立组件 */}
|
||||
{!isLoading &&
|
||||
{/* {!isLoading &&
|
||||
<ChatInputBox noData={episodeList.length === 0} />
|
||||
}
|
||||
} */}
|
||||
|
||||
{/* 分享弹框 */}
|
||||
{selectedProject && (
|
||||
|
||||
@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user