Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

615 B
Raw Blame
/**
 * Fades out the frame index.html paints before any JS runs. The first route
 * shell to mount calls it, so the screen goes straight from the boot shell to
 * the real shell without a blank frame in between.
 */
export function dismissBootShell(): void {
  const shell = document.getElementById('boot-shell');
  if (!shell || shell.dataset.leaving !== undefined) return;
  shell.dataset.leaving = '';
  const remove = () => shell.remove();
  shell.addEventListener('transitionend', remove, { once: true });
  // transitionend never fires in a background tab or with reduced motion.
  setTimeout(remove, 400);
}