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>
22 lines
826 B
TypeScript
22 lines
826 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="موتور سگمنت اختصاصی در Loyalty 7.6 وجود ندارد." />
|
|
<LoyaltyScopeNotice
|
|
title="Segment API موجود نیست"
|
|
description="اعضا را با فیلتر client-side در فهرست اعضا جستجو کنید."
|
|
alternatives={[
|
|
{ label: "اعضا", href: "/loyalty/engage/members" }
|
|
]}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|