layout.tsx (657B)
1 import type { Metadata } from "next"; 2 import { Geist, Geist_Mono } from "next/font/google"; 3 import "./globals.css"; 4 5 const geistSans = Geist({ 6 variable: "--font-geist-sans", 7 subsets: ["latin"], 8 }); 9 10 const geistMono = Geist_Mono({ 11 variable: "--font-geist-mono", 12 subsets: ["latin"], 13 }); 14 15 export const metadata: Metadata = { 16 title: "Gemini Chat", 17 description: "AI chat by minerva-juppiter", 18 }; 19 20 export default function RootLayout({ 21 children, 22 }: Readonly<{ 23 children: React.ReactNode; 24 }>) { 25 return ( 26 <html lang="jp"> 27 <body className={`${geistSans.variable} ${geistMono.variable}`}> 28 {children} 29 </body> 30 </html> 31 ); 32 }