/ app / examples / layout.js
layout.js
 1  import { Inter } from "next/font/google"
 2  import { AI } from "./weather/action"
 3  
 4  const inter = Inter({ subsets: ["latin"] })
 5  
 6  export const metadata = {
 7    title: "GPT.i.ng",
 8    description: "Let GPT do things for you!"
 9  }
10  
11  export default function RootLayout({ children }) {
12    return (
13      <>
14        <html lang="en">
15          <body className={inter.className}>
16              <AI>
17            {children}
18            </AI>
19          </body>
20        </html>
21      </>
22    )
23  }