layout.tsx
1 import type { Metadata } from "next"; 2 import { Inter } from "next/font/google"; 3 import "./globals.css"; 4 5 const inter = Inter({ subsets: ["latin"] }); 6 7 export const metadata: Metadata = { 8 title: "Create Next App", 9 description: "Generated by create next app", 10 }; 11 12 13 14 export default function RootLayout({ 15 children, 16 }: Readonly<{ 17 children: React.ReactNode; 18 }>) { 19 return ( 20 <html lang="en"> 21 <body className={inter.className}>{children}</body> 22 </html> 23 ); 24 }