Files
HokmPlay/src/app/layout.tsx
T

34 lines
1.1 KiB
TypeScript
Raw Normal View History

import type { Metadata, Viewport } from "next";
// Self-hosted fonts (no Google fetch at build time → CI builds work offline / in Iran).
import "@fontsource-variable/vazirmatn";
import "@fontsource-variable/plus-jakarta-sans";
2026-06-04 06:09:11 +03:30
import "./globals.css";
import { I18nProvider } from "@/lib/i18n";
2026-06-04 06:09:11 +03:30
export const metadata: Metadata = {
title: "برگ وسط | Barg-e Vasat — بازی حکم آنلاین",
description: "برگ وسط — بازی حکم آنلاین ایرانی با حریف‌های واقعی و هوشمند (Barg-e Vasat — online Persian Hokm)",
manifest: "/manifest.webmanifest",
appleWebApp: { capable: true, statusBarStyle: "black-translucent", title: "برگ وسط" },
};
export const viewport: Viewport = {
themeColor: "#060c1f",
width: "device-width",
initialScale: 1,
maximumScale: 1,
userScalable: false,
2026-06-04 06:09:11 +03:30
};
export default function RootLayout({
children,
}: Readonly<{ children: React.ReactNode }>) {
2026-06-04 06:09:11 +03:30
return (
<html lang="fa" dir="rtl" className="h-full antialiased">
<body className="min-h-full">
<I18nProvider>{children}</I18nProvider>
</body>
2026-06-04 06:09:11 +03:30
</html>
);
}