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