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.

647 B
Raw Blame
import {
  useViewShell,
  ViewBreadcrumbs,
  ViewShell,
} from '@app/components/view-shell';
import { Show } from 'solid-js';

/** Keep the workspace name visible when navigation no longer names the view. */
export function ReviewsListTopBar() {
  const shell = useViewShell();
  const compact = () =>
    shell.breakpoints.narrow?.() || shell.aside.isCollapsed();

  return (
    <ViewShell.TopBar>
      <Show
        when={compact()}
        fallback={<ViewBreadcrumbs.Outlet aria-label="Review location" />}
      >
        <h1 class="min-w-0 truncate text-sm font-semibold text-ink">Reviews</h1>
      </Show>
    </ViewShell.TopBar>
  );
}