local-weather/app/layout.tsx

27 lines
593 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";
2024-05-12 20:21:27 +00:00
import Analytics from "@/components/Analytics";
2024-05-03 14:48:24 +00:00
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}>
2024-05-12 20:21:27 +00:00
<Analytics />
2024-05-12 20:16:06 +00:00
{children}
</body>
2024-05-03 14:48:24 +00:00
</html>
);
}