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.

646 B
Raw Blame
import { ViewSkeleton } from '@app/components/view-shell/ViewSkeleton';
import { isTouchDevice } from '@core/mobile/isTouchDevice';

/** External while its code or the rollout flag loads. */
export function ExternalViewSkeleton() {
  return (
    <ViewSkeleton.Root
      asidePreferenceKey="external"
      // The loaded view keeps the shell's default sizing; match it so a saved
      // sidebar width does not shift when the view replaces the skeleton.
      aside={isTouchDevice() ? false : {}}
      main={{}}
    >
      <ViewSkeleton.Sidebar title="External" />
      <ViewSkeleton.Main title="WhatsApp" />
    </ViewSkeleton.Root>
  );
}