/
raperd
/
GigaStudio-3f092def
Обзор
Документация
Войти
/
raperd
/
GigaStudio-3f092def
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
patch
src/app/layout.tsx
38 строк
966 B
studio-agent
GigaStudio NextJs шаблон
30 июн 2026, 14:34
30 июн 2026, 14:34
acdb2bd
Код
Авторство
О чём код?
import { cn } from "@/lib/utils"; import { GeistMono } from "geist/font/mono"; import { GeistSans } from "geist/font/sans"; import type { Metadata } from "next"; import { ThemeProvider } from "@/components/theme-provider"; import "./globals.css"; export const metadata: Metadata = { title: "Preview | Giga Studio", description: "Next.js 16 template with TypeScript, shadcn/ui, and Tailwind CSS", }; export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { return ( <html lang="ru" suppressHydrationWarning> <body className={cn( "min-h-screen bg-background font-sans antialiased", GeistSans.variable, GeistMono.variable )} > <ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange > {children} </ThemeProvider> </body> </html> ); }