Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
import { Menu01Icon } from "@hugeicons/core-free-icons";
import { createContext, useContext } from "react";
import { Button } from "@/components/ui/button";
import { Icon } from "@/components/ui/icon";
import { useT } from "@/i18n/use-translation";
import { navigationMessages } from "./room-navigation.messages";
/** Opens the narrow-screen navigation drawer the Room shell owns. */
export const OpenMobileNavigationContext = createContext<() => void>(() => {});
/** The narrow-screen menu button that opens the navigation drawer. */
export function MobileNavigationButton() {
const open = useContext(OpenMobileNavigationContext);
const t = useT();
return (
<Button
aria-label={t(navigationMessages.openNavigation)}
className="md:hidden"
onClick={open}
size="icon"
tone="ghost"
>
<Icon icon={Menu01Icon} size={16} />
</Button>
);
}