"use client"; import React from "react"; import { BreadCrumbs } from "../ui/bread-crumbs"; import { useTranslations } from "next-intl"; import { Title } from "../ui/title"; import { usePathname } from "@/i18n/navigation"; interface Props { title: string; second?: string; third?: string; path?: string; path2?: string; cursor?: boolean; children: React.ReactNode; } export const LayoutWithSidebar = ({ title, second, path, path2, third, children, cursor = false, }: Props) => { const pathname = usePathname(); const t = useTranslations("services"); return (