layout.js 594 B

1234567891011121314151617181920212223242526272829
  1. import { Geist, Geist_Mono } from "next/font/google";
  2. import "./globals.css";
  3. const geistSans = Geist({
  4. variable: "--font-geist-sans",
  5. subsets: ["latin"],
  6. });
  7. const geistMono = Geist_Mono({
  8. variable: "--font-geist-mono",
  9. subsets: ["latin"],
  10. });
  11. export const metadata = {
  12. title: "Create Next App",
  13. description: "Generated by create next app",
  14. };
  15. export default function RootLayout({ children }) {
  16. return (
  17. <html lang="en">
  18. <body
  19. className={`${geistSans.variable} ${geistMono.variable} antialiased`}
  20. >
  21. {children}
  22. </body>
  23. </html>
  24. );
  25. }