layout.tsx

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