layout.tsx 687 B

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