import Link from "next/link"; import { useRouter } from "next/router"; // icons import { Image, 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: "Identify your instances and get key details", href: `/god-mode`, }, { Icon: Mail, name: "Email", description: "Set up emails to your users", href: `/god-mode/email`, }, { Icon: Lock, name: "SSO and OAuth", description: "Configure your Google and GitHub SSOs", href: `/god-mode/authorization`, }, { Icon: BrainCog, name: "Artificial intelligence", description: "Configure your OpenAI creds", href: `/god-mode/ai`, }, { Icon: Image, name: "Images in Plane", description: "Allow third-party image libraries", href: `/god-mode/image`, }, ]; export const InstanceAdminSidebarMenu = () => { const { theme: { sidebarCollapsed }, } = useMobxStore(); // router const router = useRouter(); return (