TorbatYar/frontend/modules/sports-center/components/SportsCenterBreadcrumbs.tsx
Mortezakoohjani 6f4a484051 Migrate Beauty, Healthcare, and Accounting frontend to modular src/modules architecture.
Move business logic out of App Router into module packages, add boundary validation scripts, and keep all routes as thin re-exports without changing URLs or API behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 22:28:27 +03:30

17 lines
526 B
TypeScript

"use client";
import Link from "next/link";
import { ChevronLeft } from "lucide-react";
export function SportsCenterBreadcrumbs({ current }: { current: string }) {
return (
<nav className="mb-4 flex items-center gap-1 text-xs text-[var(--muted)]" aria-label="مسیر">
<Link href="/sports-center/owner" className="hover:text-secondary">
مرکز ورزشی
</Link>
<ChevronLeft className="h-3 w-3" />
<span className="text-secondary">{current}</span>
</nav>
);
}