21 lines
No EOL
579 B
TypeScript
21 lines
No EOL
579 B
TypeScript
// src/app/layout.tsx
|
||
import type { Metadata } from 'next'
|
||
import { Inter } from 'next/font/google'
|
||
import { Provider } from '@/components/ui/provider'
|
||
|
||
const inter = Inter({ subsets: ['latin'] })
|
||
|
||
export const metadata: Metadata = {
|
||
title: 'My Chakra App',
|
||
description: 'Приложение на Next.js с Chakra UI',
|
||
}
|
||
|
||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||
return (
|
||
<html lang="en" suppressHydrationWarning>
|
||
<body className={inter.className}>
|
||
<Provider>{children}</Provider>
|
||
</body>
|
||
</html>
|
||
)
|
||
} |