layout.tsx 720 B

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