TorbatYar/frontend/modules/loyalty/features/admin/notifications.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

22 lines
837 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="Delivery اعلان‌ها مالک Notification Platform است." />
<LoyaltyScopeNotice
title="Notifications API در Loyalty نیست"
description="سرویس Loyalty رویداد publish می‌کند؛ کانال delivery جداست."
alternatives={[
{ label: "سلامت سرویس", href: "/loyalty/engage/health" }
]}
/>
</div>
);
}