Files
HokmPlay/src/app/layout.tsx
T

48 lines
1.2 KiB
TypeScript
Raw Normal View History

import type { Metadata, Viewport } from "next";
import { Vazirmatn, Plus_Jakarta_Sans } from "next/font/google";
2026-06-04 06:09:11 +03:30
import "./globals.css";
import { I18nProvider } from "@/lib/i18n";
2026-06-04 06:09:11 +03:30
const vazir = Vazirmatn({
variable: "--font-vazir",
subsets: ["arabic", "latin"],
display: "swap",
2026-06-04 06:09:11 +03:30
});
const jakarta = Plus_Jakarta_Sans({
variable: "--font-jakarta",
2026-06-04 06:09:11 +03:30
subsets: ["latin"],
display: "swap",
2026-06-04 06:09:11 +03:30
});
export const metadata: Metadata = {
title: "حکم | Hokm — بازی کارت ایرانی",
description: "بازی حکم اصیل ایرانی با حریف‌های هوشمند — Persian Hokm card game",
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={`${vazir.variable} ${jakarta.variable} h-full antialiased`}
2026-06-04 06:09:11 +03:30
>
<body className="min-h-full">
<I18nProvider>{children}</I18nProvider>
</body>
2026-06-04 06:09:11 +03:30
</html>
);
}