site: drop PWA manifest from marketing site (SEO site, not an app)
CI/CD / CI - API (dotnet build + engine sim) (push) Successful in 3m24s
CI/CD / CI - Web (tsc + next build) (push) Successful in 1m5s
CI/CD / Deploy - local stack (db + server + web) (push) Successful in 51s

Remove the web-app manifest link + manifest.ts route so bargevasat.ir no longer
triggers an "install/add to home screen" prompt. It's a plain marketing/SEO
site now. Only the game app (app.bargevasat.ir) remains a PWA.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-11 00:44:31 +03:30
parent 3e37085d18
commit cc63312305
2 changed files with 2 additions and 21 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ export const metadata: Metadata = {
images: ["/og.png"],
},
icons: { icon: "/icon.svg", apple: "/icon.svg" },
manifest: "/manifest.webmanifest",
// No web-app manifest on the marketing site — it's a plain SEO site, not an
// installable PWA. Only the game app (app.bargevasat.ir) is a PWA.
};
export const viewport: Viewport = {
-20
View File
@@ -1,20 +0,0 @@
import type { MetadataRoute } from "next";
export const dynamic = "force-static";
export default function manifest(): MetadataRoute.Manifest {
return {
name: "برگ وسط — بازی حکم آنلاین",
short_name: "برگ وسط",
description: "بازی حکم ایرانی آنلاین با دوستان و هوش مصنوعی.",
start_url: "/",
display: "standalone",
background_color: "#070b18",
theme_color: "#070b18",
dir: "rtl",
lang: "fa",
icons: [
{ src: "/icon.svg", sizes: "any", type: "image/svg+xml", purpose: "any" },
],
};
}