Files
20260512-skg-tk/web/app/layout.tsx

34 lines
944 B
TypeScript

import type React from "react"
import type { Metadata } from "next"
import { Geist, Geist_Mono, Playfair_Display } from "next/font/google"
import { ThemeProvider } from "@/components/theme-provider"
import "./globals.css"
const _geist = Geist({ subsets: ["latin"] })
const _geistMono = Geist_Mono({ subsets: ["latin"] })
const _playfairDisplay = Playfair_Display({
subsets: ["latin"],
variable: "--font-playfair",
})
export const metadata: Metadata = {
title: "SKG Creative Studio",
description: "SKG AI 图片、视频和文案创作台",
}
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode
}>) {
return (
<html lang="zh-CN" suppressHydrationWarning>
<body className="font-sans antialiased">
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem={false} disableTransitionOnChange>
{children}
</ThemeProvider>
</body>
</html>
)
}