123456789101112131415161718192021222324252627282930313233 |
- import type { Metadata } from "next";
- import { Inter } from "next/font/google";
- import "./globals.css";
- import { TrpcContextProvider } from "@/components/providers/TrpcContextProvider";
- import { SessionProvider } from "@/components/providers/SessionProvider";
- const inter = Inter({ subsets: ["latin"] });
- export const metadata: Metadata = {
- title: "Coco Apps",
- description: "Cocorobo's Apps Platform",
- };
- export default function RootLayout({
- children,
- }: Readonly<{
- children: React.ReactNode;
- }>) {
- // const [theme] = useState("cupcake")
- const theme = "cupcake"
- return (
- <html lang="en" data-theme={theme}>
- <body className={inter.className}>
- <SessionProvider>
- <TrpcContextProvider>
- {children}
- </TrpcContextProvider>
- </SessionProvider>
- </body>
- </html>
- );
- }
|