Spaces:
Sleeping
Sleeping
| import type { Metadata } from "next"; | |
| import { Inter } from "next/font/google"; | |
| import "./globals.css"; | |
| import { Toaster } from "@/components/ui/sonner"; | |
| import { QueryProvider } from "@/components/providers/QueryProvider"; | |
| import { ThemeProvider } from "@/components/providers/ThemeProvider"; | |
| import { ErrorBoundary } from "@/components/common/ErrorBoundary"; | |
| import { ConnectionGuard } from "@/components/common/ConnectionGuard"; | |
| import { themeScript } from "@/lib/theme-script"; | |
| const inter = Inter({ subsets: ["latin"] }); | |
| export const metadata: Metadata = { | |
| title: "Open Notebook", | |
| description: "Privacy-focused research and knowledge management", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="en" suppressHydrationWarning> | |
| <head> | |
| <script dangerouslySetInnerHTML={{ __html: themeScript }} /> | |
| ); | |
| } | |