local-weather/app/layout.tsx

25 lines
523 B
TypeScript
Raw Normal View History

2024-05-03 14:48:24 +00:00
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Get the weather anywhere!",
description: "Get todays weather hour-by-hour or a 7 day forecast!",
2024-05-03 14:48:24 +00:00
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
2024-05-12 20:16:06 +00:00
<body className={inter.className}>
{children}
</body>
2024-05-03 14:48:24 +00:00
</html>
);
}