TorbatYar/frontend/modules/delivery/components/DeliveryBreadcrumbs.tsx
Mortezakoohjani 7978970783 feat(delivery): add Torbat Driver frontend module with real API wiring.
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>
2026-07-27 12:02:01 +03:30

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 },
]}
/>
);
}