PRINTFILM: AI short-video marketing and AI short-drama creation platform
import type { ReactNode } from 'react'
import AppShell from '../layout/AppShell'
import { type MediaKind } from '../../lib/generationMedia'
import '../../styles/generation.css'
import '../../styles/generation-controls.css'
/** 生成工作台与任务页共用布局,主侧栏按当前媒体类型高亮。 */
export default function GenerationLayout({ children, tasks = false, kind }: { children: ReactNode; tasks?: boolean; kind?: MediaKind }) {
return <AppShell active={tasks ? 'tasks' : kind} wide hideFooter>
<div className="gen-layout">
<div className="gen-main">{children}</div>
</div>
</AppShell>
}