Files
tvone/app/layout.tsx
T
peter 737915697d
continuous-integration/drone/push Build is passing
add icon
2026-04-05 12:40:47 +01:00

48 lines
1.1 KiB
TypeScript

import type { Metadata, Viewport } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
/** Matches `TvoneSiteNav` — Safari/iOS uses this for the browser chrome tint from the first paint. */
const TVONE_HEADER_BLUE = "#0066D4";
export const viewport: Viewport = {
themeColor: TVONE_HEADER_BLUE,
colorScheme: "light",
viewportFit: "cover",
};
export const metadata: Metadata = {
title: "tvone — Notícias e entretenimento",
description: "O seu portal de notícias, música e cultura.",
icons: {
icon: "/logo.png", // or "/favicon.png"
apple: "/logo.png", // optional for iOS
},
appleWebApp: {
capable: true,
statusBarStyle: "black-translucent",
title: "tvone",
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="pt" className={`${inter.variable} h-full antialiased`}>
<body
className={`min-h-full flex flex-col bg-white text-neutral-900 ${inter.className}`}
>
{children}
</body>
</html>
);
}