local-weather/app/layout.tsx

26 lines
676 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}>
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "cc87b1af28264bd7aaf287ba7f905362"}'></script>
{children}
</body>
2024-05-03 14:48:24 +00:00
</html>
);
}