import Link from "next/link"; import { usePathname } from "next/navigation"; import { Image, BrainCog, Cog, Lock, Mail } from "lucide-react"; // hooks import { useAppTheme } from "hooks/useTheme"; // ui import { Tooltip } from "@plane/ui"; import { observer } from "mobx-react-lite"; const INSTANCE_ADMIN_LINKS = [ { Icon: Cog, name: "General", description: "Identify your instances and get key details", href: `/`, }, { Icon: Mail, name: "Email", description: "Set up emails to your users", href: `/email`, }, { Icon: Lock, name: "SSO and OAuth", description: "Configure your Google and GitHub SSOs", href: `/authorization`, }, { Icon: BrainCog, name: "Artificial intelligence", description: "Configure your OpenAI creds", href: `/ai`, }, { Icon: Image, name: "Images in Plane", description: "Allow third-party image libraries", href: `/image`, }, ]; export const SidebarMenu = observer(() => { // store hooks const { sidebarCollapsed } = useAppTheme(); // router const pathName = usePathname(); return (