-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.tsx
33 lines (30 loc) · 875 Bytes
/
layout.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import type { Metadata } from "next";
import { Inter, Poppins } from "next/font/google";
import "./globals.css";
import ContextAppProvider from "./contextApp";
import { ClerkProvider } from "@clerk/nextjs";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
const poppins = Poppins({
subsets: ["latin"],
variable: "--font-poppins",
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<ClerkProvider>
<ContextAppProvider>
<body className={poppins.variable}>{children}</body>
</ContextAppProvider>
</ClerkProvider>
</html>
);
}