Brand the app as «برگ وسط» / Barg-e Vasat

- Name + tagline («بازی حکم آنلاین») across i18n (app.title/subtitle),
  layout metadata, PWA manifest, app icon, package name, server health
- Gameplay term «حکم» unchanged; repo/folder stay hokm/HokmPlay

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-04 14:01:14 +03:30
parent 292dedd843
commit d04605d118
6 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "hokm",
"name": "barg-e-vasat",
"version": "0.1.0",
"private": true,
"scripts": {
+2 -2
View File
@@ -17,6 +17,6 @@
</g>
<path d="M256 150 C300 150 330 182 330 224 C330 286 256 330 256 360 C256 330 182 286 182 224 C182 182 212 150 256 150 Z"
fill="url(#gold)"/>
<text x="256" y="430" text-anchor="middle" font-family="Vazirmatn, Tahoma, sans-serif"
font-size="92" font-weight="800" fill="url(#gold)">حکم</text>
<text x="256" y="438" text-anchor="middle" font-family="Vazirmatn, Tahoma, sans-serif"
font-size="62" font-weight="800" fill="url(#gold)">برگ وسط</text>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

+3 -3
View File
@@ -1,7 +1,7 @@
{
"name": "حکم | Hokm",
"short_name": "حکم",
"description": "بازی حکم اصیل ایرانی با حریف‌های هوشمند",
"name": "برگ وسط | Barg-e Vasat",
"short_name": "برگ وسط",
"description": "بازی حکم آنلاین ایرانی با حریف‌های واقعی",
"lang": "fa",
"dir": "rtl",
"start_url": "/",
+1 -1
View File
@@ -70,7 +70,7 @@ app.UseCors();
app.UseAuthentication();
app.UseAuthorization();
app.MapGet("/", () => Results.Json(new { service = "Hokm SignalR server", status = "ok" }));
app.MapGet("/", () => Results.Json(new { service = "Barg-e Vasat SignalR server", status = "ok" }));
app.MapGet("/api/stats/online", (GameManager m) => Results.Json(new { online = m.OnlineCount }));
// --- dev auth (mock OTP + email). Replace with the V2 Identity Service later. ---
+3 -3
View File
@@ -16,10 +16,10 @@ const jakarta = Plus_Jakarta_Sans({
});
export const metadata: Metadata = {
title: "حکم | Hokm — بازی کارت ایرانی",
description: "بازی حکم اصیل ایرانی با حریف‌های هوشمند — Persian Hokm card game",
title: "برگ وسط | Barg-e Vasat — بازی حکم آنلاین",
description: رگ وسط — بازی حکم آنلاین ایرانی با حریف‌های واقعی و هوشمند (Barg-e Vasat — online Persian Hokm)",
manifest: "/manifest.webmanifest",
appleWebApp: { capable: true, statusBarStyle: "black-translucent", title: "حکم" },
appleWebApp: { capable: true, statusBarStyle: "black-translucent", title: "برگ وسط" },
};
export const viewport: Viewport = {
+4 -4
View File
@@ -14,8 +14,8 @@ export type Locale = "fa" | "en";
type Dict = Record<string, string>;
const fa: Dict = {
"app.title": "حکم",
"app.subtitle": "بازی کارت اصیل ایرانی",
"app.title": "برگ وسط",
"app.subtitle": "بازی حکم آنلاین",
"app.tagline": "تجربه‌ای لوکس از بازی حکم، با حریف‌های هوشمند",
"home.play": "شروع بازی",
@@ -237,8 +237,8 @@ const fa: Dict = {
};
const en: Dict = {
"app.title": "Hokm",
"app.subtitle": "The classic Persian card game",
"app.title": "Barg-e Vasat",
"app.subtitle": "Online Hokm",
"app.tagline": "A luxury Hokm experience with smart opponents",
"home.play": "Play",