TorbatYar/frontend/modules/hospitality/components/HospitalityBreadcrumbs.tsx
Mortezakoohjani 065c053c16 Add complete Torbat Food hospitality frontend connected to backend APIs.
Introduces modules/hospitality with 54 routes, BFF proxy, capability-gated nav, CRUD factory, and architecture validation docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 20:54:26 +03:30

17 lines
536 B
TypeScript

"use client";
import Link from "next/link";
import { ChevronLeft } from "lucide-react";
export function HospitalityBreadcrumbs({ current }: { current: string }) {
return (
<nav className="mb-3 flex items-center gap-1 text-xs text-[var(--muted)]" aria-label="مسیر">
<Link href="/hospitality" className="hover:text-secondary">
تربت فود
</Link>
<ChevronLeft className="h-3 w-3 rotate-180" aria-hidden />
<span className="text-secondary">{current}</span>
</nav>
);
}