2025-02-19 13:20:25 +00:00
|
|
|
import "./globals.css";
|
2025-02-19 01:00:15 +00:00
|
|
|
import type { Metadata } from "next";
|
2025-02-19 13:20:25 +00:00
|
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
2025-02-19 01:00:15 +00:00
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
title: "Create Next App",
|
|
|
|
description: "Generated by create next app",
|
|
|
|
};
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
children,
|
|
|
|
}: Readonly<{
|
|
|
|
children: React.ReactNode;
|
|
|
|
}>) {
|
|
|
|
return (
|
2025-02-19 13:30:01 +00:00
|
|
|
<html lang="en" suppressHydrationWarning>
|
2025-02-20 05:09:57 +00:00
|
|
|
<body className="antialiased">
|
2025-02-19 13:20:25 +00:00
|
|
|
<ThemeProvider
|
|
|
|
attribute="class"
|
2025-02-19 14:40:27 +00:00
|
|
|
defaultTheme="system"
|
2025-02-19 13:20:25 +00:00
|
|
|
enableSystem
|
|
|
|
disableTransitionOnChange
|
|
|
|
>
|
|
|
|
{children}
|
|
|
|
</ThemeProvider>
|
2025-02-19 01:00:15 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
);
|
|
|
|
}
|