this repo has no description
at master 689 B view raw
1import type { Metadata } from "next"; 2import { Geist, Geist_Mono } from "next/font/google"; 3import "./globals.css"; 4 5const geistSans = Geist({ 6 variable: "--font-geist-sans", 7 subsets: ["latin"], 8}); 9 10const geistMono = Geist_Mono({ 11 variable: "--font-geist-mono", 12 subsets: ["latin"], 13}); 14 15export const metadata: Metadata = { 16 title: "Create Next App", 17 description: "Generated by create next app", 18}; 19 20export default function RootLayout({ 21 children, 22}: Readonly<{ 23 children: React.ReactNode; 24}>) { 25 return ( 26 <html lang="en"> 27 <body 28 className={`${geistSans.variable} ${geistMono.variable} antialiased`} 29 > 30 {children} 31 </body> 32 </html> 33 ); 34}