layout.tsx (602B)
1 import type { Metadata } from "next"; 2 import { Noto_Sans_JP } from 'next/font/google'; 3 import "./globals.css"; 4 5 const notoSansJp = Noto_Sans_JP({ 6 subsets: ['latin'], 7 weight: ['400', '700'], 8 preload: false, 9 variable: '--font-noto-sans-jp', 10 display: 'swap', 11 }) 12 13 export const metadata: Metadata = { 14 title: "AIdentity", 15 description: "Op31 by minerva_juppiter", 16 }; 17 18 export default function RootLayout({ 19 children, 20 }: Readonly<{ 21 children: React.ReactNode; 22 }>) { 23 return ( 24 <html lang="jp" className={notoSansJp.variable}> 25 <body> 26 {children} 27 </body> 28 </html> 29 ); 30 }