Ship the delivery platform UI under modules/delivery with thin app routes, BFF proxy, CRUD for phase 10.0-10.1 APIs, and capability-gated future screens. Co-authored-by: Cursor <cursoragent@cursor.com>
35 lines
683 B
TypeScript
35 lines
683 B
TypeScript
"use client";
|
|
|
|
import { Breadcrumbs } from "@/components/ds";
|
|
|
|
export function DeliveryBreadcrumbs({ current }: { current: string }) {
|
|
return (
|
|
<Breadcrumbs
|
|
items={[
|
|
{ label: "تربت درایور", href: "/delivery" },
|
|
{ label: current },
|
|
]}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export function DeliveryDetailBreadcrumbs({
|
|
section,
|
|
current,
|
|
sectionHref,
|
|
}: {
|
|
section: string;
|
|
current: string;
|
|
sectionHref: string;
|
|
}) {
|
|
return (
|
|
<Breadcrumbs
|
|
items={[
|
|
{ label: "تربت درایور", href: "/delivery" },
|
|
{ label: section, href: sectionHref },
|
|
{ label: current },
|
|
]}
|
|
/>
|
|
);
|
|
}
|