import { useState } from "react"; import { Link } from "@tanstack/react-router"; import { dismissProNudge } from "~/fns/pro"; import { useAction } from "~/hooks/use-action"; import { Panel } from "~/ui/Panel"; /** * A quiet card at the bottom of the dashboard sidebar. One link, one "Not now" that hides it for six * months; it never interrupts anything and supporters never see it. */ export function ProNudge() { const [hidden, setHidden] = useState(false); const dismiss = useAction(dismissProNudge, { invalidate: false }); if (hidden) return null; return (

Enjoying gitfor?{" "} Pro gives you more room to build, and keeps the lights on.

See what Pro adds
); }