/** The one subtitle per module home, keyed by route key: a few plain words, no full stop, no dash. */ export const MODULE_SUBTITLES = { intelligence: "What your workspace knows", data: "Every database in one place", sheet: "Workbooks on live data", app: "Apps built on your data", automation: "Work that runs for you", artifacts: "What the assistant made", assistant: "Ask about your data", connectors: "Connect your tools and data", } as const; export type ModuleSubtitleKey = keyof typeof MODULE_SUBTITLES; /** The module home title row: one h1 and the module's subtitle from MODULE_SUBTITLES. */ export function ModuleHomeHead({ title, module, className }: { title: string; module?: ModuleSubtitleKey; className?: string; }) { const subtitle = module ? MODULE_SUBTITLES[module] : undefined; return
{subtitle}
: null}