judge4c/src/app/layout.tsx

30 lines
662 B
TypeScript
Raw Normal View History

import "./globals.css";
2025-02-19 01:00:15 +00:00
import type { Metadata } from "next";
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 (
<html lang="en" suppressHydrationWarning>
<body className="antialiased">
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
{children}
</ThemeProvider>
2025-02-19 01:00:15 +00:00
</body>
</html>
);
}