Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import { createSignal } from 'solid-js';
const [isMobileWidth, setIsMobileWidth] = createSignal(
typeof window !== 'undefined' && window.innerWidth < 640
);
if (typeof window !== 'undefined') {
const handleResize = () => {
setIsMobileWidth(window.innerWidth < 640);
};
window.addEventListener('resize', handleResize);
}
export { isMobileWidth };