Add frontend/modules/loyalty with types, API client, design system, feature pages and thin App Router routes under app/loyalty/. BFF proxy at app/api/loyalty/. Include loyalty frontend docs. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
968 B
TypeScript
23 lines
968 B
TypeScript
"use client";
|
||
|
||
import { PageHeader } from "@/components/ds";
|
||
import { LoyaltyBreadcrumbs } from "@/modules/loyalty/components/LoyaltyBreadcrumbs";
|
||
import { LoyaltyScopeNotice } from "@/modules/loyalty/components/LoyaltyScopeNotice";
|
||
|
||
export default function Page() {
|
||
return (
|
||
<div>
|
||
<LoyaltyBreadcrumbs items={[{ label: "کارت هدیه" }]} />
|
||
<PageHeader title="کارت هدیه" description="Gift Cards — فاز ۷.۷ هنوز در بکاند Loyalty فعال نیست." />
|
||
<LoyaltyScopeNotice
|
||
title="API کارت هدیه موجود نیست"
|
||
description="فاز ۷.۶ کیف پول و پاداش را پوشش میدهد؛ Gift Card در ۷.۷ برنامهریزی شده است."
|
||
alternatives={[
|
||
{ label: "کیف پول", href: "/loyalty/engage/wallets" },
|
||
{ label: "پاداشها", href: "/loyalty/engage/rewards" }
|
||
]}
|
||
/>
|
||
</div>
|
||
);
|
||
}
|