layout.tsx 913 B

123456789101112131415161718192021222324252627282930313233
  1. import type { Metadata } from "next";
  2. import { Inter } from "next/font/google";
  3. import "./globals.css";
  4. import { TrpcContextProvider } from "@/app/components/providers/TrpcContextProvider";
  5. import { SessionAuthProvider } from "@/app/components/providers/SessionAuthProvider";
  6. import { JotaiProvider } from '@/app/components/providers/JotaiProvider'
  7. const inter = Inter({ subsets: ["latin"] });
  8. export const metadata: Metadata = {
  9. title: "Coco Apps",
  10. description: "Cocorobo's Apps Platform",
  11. };
  12. export default function RootLayout({
  13. children,
  14. }: Readonly<{
  15. children: React.ReactNode;
  16. }>) {
  17. return (
  18. <html lang="en">
  19. <body className={inter.className}>
  20. <JotaiProvider>
  21. <TrpcContextProvider>
  22. <SessionAuthProvider>
  23. {children}
  24. </SessionAuthProvider>
  25. </TrpcContextProvider>
  26. </JotaiProvider>
  27. </body>
  28. </html>
  29. );
  30. }