web_next/weather_app/app/layout.tsx
2024-03-20 15:08:40 -05:00

27 lines
746 B
TypeScript

import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import { ThemeProvider } from "./providers/ThemeProvider";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Weather APP | Tempreture, Air Pollution...",
description: "Openweather application",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={inter.className}>
<link rel="icon" href="/clouds-and-sun.png" sizes="any" />
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem disableTransitionOnChange>{children}</ThemeProvider>
</body>
</html>
);
}