-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
32 lines (27 loc) · 787 Bytes
/
layout.tsx
File metadata and controls
32 lines (27 loc) · 787 Bytes
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
import { ClerkProvider } from "@clerk/nextjs";
import { type Metadata } from "next";
import { Geist } from "next/font/google";
import { PostHogProvider } from "./_providers/posthog-provider";
import "~/styles/globals.css";
export const metadata: Metadata = {
title: "Drive Tutorial",
description: "It's like Google Drive, but worse!",
icons: [{ rel: "icon", url: "/favicon.ico" }],
};
const geist = Geist({
subsets: ["latin"],
variable: "--font-geist-sans",
});
export default function RootLayout({
children,
}: Readonly<{ children: React.ReactNode }>) {
return (
<ClerkProvider>
<PostHogProvider>
<html lang="en" className={`${geist.variable}`}>
<body>{children}</body>
</html>
</PostHogProvider>
</ClerkProvider>
);
}