TorbatYar/frontend/modules/loyalty/features/rewards/gift-cards.tsx
Mortezakoohjani d579d0b142 feat(loyalty): add Loyalty Platform Frontend module
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>
2026-07-27 10:50:55 +03:30

23 lines
968 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"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>
);
}