"use client"; import { FC } from "react"; import { usePathname } from "next/navigation"; // mobx import { observer } from "mobx-react-lite"; // ui import { Breadcrumbs } from "@plane/ui"; // icons import { Settings } from "lucide-react"; export const InstanceHeader: FC = observer(() => { const pathName = usePathname(); const getHeaderTitle = () => { if (pathName === "/") { return "General"; } if (pathName === "/ai") { return "Artificial Intelligence"; } if (pathName === "/email") { return "Email"; } if (pathName === "/authorization") { return "Authorization"; } if (pathName === "/image") { return "Image"; } return; }; const title = getHeaderTitle(); return (