forked from Scale3-Labs/langtrace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.tsx
33 lines (30 loc) · 959 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 QueryProvider from "@/components/providers/query-provider";
import { ThemeProvider } from "@/components/providers/theme-provider";
import { Toaster } from "@/components/ui/sonner";
import type { Metadata } from "next";
import { Red_Hat_Display } from "next/font/google";
import "./globals.css";
const redHatDisplay = Red_Hat_Display({
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
title: "Langtrace",
description: "Open source observability for your LLM applications",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<body className={redHatDisplay.className}>
<ThemeProvider attribute="class" defaultTheme="system">
<QueryProvider>{children}</QueryProvider>
</ThemeProvider>
</body>
<Toaster />
</html>
);
}