import Link from "next/link"; import { useRouter } from "next/router"; // icons import { BrainCog, Cog, Lock, Mail } from "lucide-react"; // mobx store import { useMobxStore } from "lib/mobx/store-provider"; // ui import { Tooltip } from "@plane/ui"; const INSTANCE_ADMIN_LINKS = [ { Icon: Cog, name: "General", description: "General settings here", href: `/admin`, }, { Icon: Mail, name: "Email", description: "Email related settings will go here", href: `/admin/email`, }, { Icon: Lock, name: "Authorization", description: "Autorization", href: `/admin/authorization`, }, { Icon: BrainCog, name: "OpenAI", description: "OpenAI configurations", href: `/admin/openai`, }, ]; export const InstanceAdminSidebarMenu = () => { const { theme: { sidebarCollapsed }, } = useMobxStore(); // router const router = useRouter(); return (