import type { Metadata, Viewport } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import { Providers } from "@/components/providers"; import { tr } from "@/i18n/tr"; import "./globals.css"; // Türkçe karakterler (ğ, ş, ı, İ) latin-ext alt kümesinde. const geistSans = Geist({ variable: "--font-sans", subsets: ["latin", "latin-ext"], }); const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin", "latin-ext"], }); export const metadata: Metadata = { title: { default: tr.app.name, template: `%s · ${tr.app.name}` }, description: tr.app.tagline, applicationName: tr.app.name, appleWebApp: { capable: true, title: tr.app.name, statusBarStyle: "default" }, formatDetection: { telephone: false }, }; export const viewport: Viewport = { width: "device-width", initialScale: 1, viewportFit: "cover", // Manifest/tarayıcı çubuğu rengi CSS değişkeni okuyamaz; --background değerlerinin hex karşılığı. themeColor: [ { media: "(prefers-color-scheme: light)", color: "#fafcfe" }, { media: "(prefers-color-scheme: dark)", color: "#081123" }, ], }; export default function RootLayout({ children }: LayoutProps<"/">) { return ( {children} ); }