import { BellFilledIcon, BellIcon, ComposeFilledIcon, ComposeIcon, DepotFilledIcon, DepotIcon, HomeFilledIcon, HomeIcon, SearchFilledIcon, SearchIcon, SettingsFilledIcon, SettingsIcon, } from "@lume/icons"; import { cn, editorAtom, searchAtom } from "@lume/utils"; import { useAtom } from "jotai"; import { useHotkeys } from "react-hotkeys-hook"; import { NavLink } from "react-router-dom"; import { ActiveAccount } from "./account/active"; import { UnreadActivity } from "./unread"; export function Navigation() { const [isEditorOpen, setIsEditorOpen] = useAtom(editorAtom); const [search, setSearch] = useAtom(searchAtom); // shortcut for editor useHotkeys("meta+n", () => setIsEditorOpen((state) => !state), []); return (