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>
16 lines
327 B
TypeScript
16 lines
327 B
TypeScript
"use client";
|
|
|
|
import { Breadcrumbs } from "@/components/ds";
|
|
|
|
export function LoyaltyBreadcrumbs({
|
|
items,
|
|
}: {
|
|
items: { label: string; href?: string }[];
|
|
}) {
|
|
return (
|
|
<div className="mb-4">
|
|
<Breadcrumbs items={[{ label: "وفاداری", href: "/loyalty/hub" }, ...items]} />
|
|
</div>
|
|
);
|
|
}
|