video-flow-b/app/layout.tsx

39 lines
1020 B
TypeScript

import './globals.css';
import type { Metadata } from 'next';
import { Providers } from '@/components/providers';
import { ConfigProvider, theme } from 'antd';
export const metadata: Metadata = {
title: 'AI Movie Flow - Create Amazing Videos with AI',
description: 'Professional AI-powered video creation platform with advanced editing tools',
};
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en" suppressHydrationWarning>
<body className="font-sans antialiased">
<ConfigProvider
theme={{
algorithm: theme.darkAlgorithm,
token: {
// 自定义暗色主题颜色
colorBgContainer: '#1B1B1B',
colorBgElevated: '#1B1B1B',
colorBgMask: 'rgba(0, 0, 0, 0.6)',
borderRadius: 16,
},
}}
>
<Providers>
{children}
</Providers>
</ConfigProvider>
</body>
</html>
);
}