layout.tsx 605 B

12345678910111213141516171819
  1. import "./global.css";
  2. import { RootProvider } from "fumadocs-ui/provider";
  3. import { Inter } from "next/font/google";
  4. import type { ReactNode } from "react";
  5. import { GoogleAnalytics } from "@next/third-parties/google";
  6. const inter = Inter({
  7. subsets: ["latin"],
  8. });
  9. export default function Layout({ children }: { children: ReactNode }) {
  10. return (
  11. <html lang="en" className={inter.className} suppressHydrationWarning>
  12. <body className="flex flex-col min-h-screen">
  13. <RootProvider>{children}</RootProvider>
  14. </body>
  15. <GoogleAnalytics gaId="G-ZJYNM2WNM0" />
  16. </html>
  17. );
  18. }