Spaces:
Build error
Build error
| import type { Metadata } from "next"; | |
| import { Inter } from "next/font/google"; | |
| import "./globals.css"; | |
| import { ThemeProvider } from "@/app/components/theme-provider"; | |
| const inter = Inter({ subsets: ["latin"] }); | |
| export const metadata: Metadata = { | |
| title: "Open Lovable", | |
| description: "Re-imagine any website in seconds with AI-powered website builder.", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="en" suppressHydrationWarning> | |
| <body className={inter.className}> | |
| <ThemeProvider | |
| attribute="class" | |
| defaultTheme="light" | |
| enableSystem | |
| disableTransitionOnChange | |
| > | |
| {children} | |
| </ThemeProvider> | |
| </body> | |
| </html> | |
| ); | |
| } | |