5d38312ef0
- New standalone Next.js marketing site under site/ (static export, SEO): landing, download/install guide (Bazaar/Myket/iOS-PWA/web), FAQ (JSON-LD), privacy, terms, support, /admin link editor. fa RTL, sitemap/robots/manifest. - Backend: SiteLinksService (JSON-file persisted) + GET /api/site/links (public) + POST /api/admin/site/links (X-Admin-Token). ADMIN_TOKEN + Site__DataDir via env. - compose: hokm-site service (:1520) + hokm_data volume for links JSON. - CI deploy job builds + deploys the site container. - deploy/SUBDOMAIN_SPLIT.md: nginx blocks, cert reissue, DNS, ENV split. - Exclude site/ from root tsc + web docker context. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
21 lines
601 B
TypeScript
21 lines
601 B
TypeScript
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" },
|
|
],
|
|
};
|
|
}
|