2025-01-11 16:22:00 +05:30
|
|
|
import type { Metadata } from "next";
|
|
|
|
import localFont from "next/font/local";
|
|
|
|
import "./globals.css";
|
2025-04-10 00:37:32 -07:00
|
|
|
import { AlertSystem } from "@/components/ui/alert-system";
|
2025-04-15 16:55:47 -07:00
|
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
2025-01-11 16:22:00 +05:30
|
|
|
|
|
|
|
const geistSans = localFont({
|
|
|
|
src: "./fonts/GeistVF.woff",
|
|
|
|
variable: "--font-geist-sans",
|
|
|
|
weight: "100 900",
|
|
|
|
});
|
|
|
|
const geistMono = localFont({
|
|
|
|
src: "./fonts/GeistMonoVF.woff",
|
|
|
|
variable: "--font-geist-mono",
|
|
|
|
weight: "100 900",
|
|
|
|
});
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2025-03-30 02:03:08 -07:00
|
|
|
title: "Morphik Dashboard",
|
|
|
|
description: "Morphik - Knowledge Graph and RAG Platform",
|
2025-01-11 16:22:00 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
children,
|
|
|
|
}: Readonly<{
|
|
|
|
children: React.ReactNode;
|
|
|
|
}>) {
|
|
|
|
return (
|
2025-04-15 16:55:47 -07:00
|
|
|
<html lang="en" suppressHydrationWarning>
|
2025-01-11 16:22:00 +05:30
|
|
|
<body
|
|
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
|
|
|
>
|
2025-04-15 16:55:47 -07:00
|
|
|
<ThemeProvider
|
|
|
|
attribute="class"
|
|
|
|
defaultTheme="system"
|
|
|
|
enableSystem
|
|
|
|
disableTransitionOnChange
|
|
|
|
>
|
|
|
|
{children}
|
|
|
|
<AlertSystem position="bottom-right" />
|
|
|
|
</ThemeProvider>
|
2025-01-11 16:22:00 +05:30
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
);
|
|
|
|
}
|