Spaces:
Running
Running
File size: 878 Bytes
c7d34c1 e4e0afe c7d34c1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | import './globals.css';
import { ThemeProvider } from '@/components/theme-provider';
import { I18nProvider } from '@/lib/i18n';
import type { Metadata } from 'next';
export const metadata: Metadata = {
title: '图像手记 | AI 图像创作工作台',
description: '图像手记是用于生成、编辑和管理图像的 AI 图像创作工作台。',
icons: {
icon: '/favicon.svg'
}
};
export default function RootLayout({
children
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang='zh-CN' suppressHydrationWarning>
<body className='antialiased'>
<ThemeProvider attribute='class' defaultTheme='light' enableSystem={false} disableTransitionOnChange>
<I18nProvider>{children}</I18nProvider>
</ThemeProvider>
</body>
</html>
);
}
|