| 1 | import type { Metadata } from 'next'; |
| 2 | import { Geist, Geist_Mono } from 'next/font/google'; |
| 3 | import './globals.css'; |
| 4 | import { Providers } from '@/components/providers'; |
| 5 | |
| 6 | const geistSans = Geist({ |
| 7 | variable: '--font-geist-sans', |
| 8 | subsets: ['latin'], |
| 9 | }); |
| 10 | |
| 11 | const geistMono = Geist_Mono({ |
| 12 | variable: '--font-geist-mono', |
| 13 | subsets: ['latin'], |
| 14 | }); |
| 15 | |
| 16 | export const metadata: Metadata = { |
| 17 | title: 'Create Next App', |
| 18 | description: 'Generated by create next app', |
| 19 | }; |
| 20 | |
| 21 | export default function RootLayout({ |
| 22 | children, |
| 23 | }: Readonly<{ |
| 24 | children: React.ReactNode; |
| 25 | }>) { |
| 26 | return ( |
| 27 | <html lang="en"> |
| 28 | <body |
| 29 | className={`${geistSans.variable} ${geistMono.variable} antialiased`} |
| 30 | > |
| 31 | <Providers>{children}</Providers> |
| 32 | </body> |
| 33 | </html> |
| 34 | ); |
| 35 | } |