"use client"; import { useTranslations } from "next-intl"; import { Link } from "@/i18n/navigation"; export const BreadCrumbs = ({ second, third, path, path2, cursor = false, }: { second: string; third?: string; path?: string; path2?: string; cursor?: boolean; }) => { const t = useTranslations("common"); return (
{t("home")}

/

{third ? {second} :

{second}

} {third &&

/

} {third &&

{third}

}
); };