Marketing site (bargevasat.ir) + admin-editable store links + subdomain split
- 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>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import type { Metadata } from "next";
|
||||
import { PageShell } from "@/components/PageShell";
|
||||
import { SupportContact } from "@/components/SupportContact";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "پشتیبانی",
|
||||
description: "از تیم پشتیبانی برگ وسط کمک بگیرید — ایمیل، تلگرام و اینستاگرام.",
|
||||
alternates: { canonical: "/support" },
|
||||
};
|
||||
|
||||
export default function SupportPage() {
|
||||
return (
|
||||
<PageShell title="پشتیبانی" subtitle="سوالی داری یا مشکلی پیش آمده؟ ما اینجاییم.">
|
||||
<SupportContact />
|
||||
<p className="text-sm text-cream/55">
|
||||
پیش از تماس، نگاهی به{" "}
|
||||
<a href="/faq" className="text-gold-soft underline">
|
||||
سوالهای متداول
|
||||
</a>{" "}
|
||||
بینداز — شاید جوابت همانجا باشد.
|
||||
</p>
|
||||
</PageShell>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user