import { DAY_MS } from './timeUtils'; // Value-prop subtitles for the create-new-agent row. Kept to similar lengths // so the row height never changes between app opens. export const CREATE_AGENT_SUBTITLES = [ 'Automate another task', 'Put another task on autopilot', 'Completes tasks on your behalf', 'Works for you 24/7', ] as const; /** * Day-based rotation: the same line all day, the next line the next day, so * the copy varies across app opens without needing persisted state. */ export function pickCreateAgentSubtitle(date: Date): string { const daysSinceEpoch = Math.floor(date.getTime() / DAY_MS); return CREATE_AGENT_SUBTITLES[daysSinceEpoch % CREATE_AGENT_SUBTITLES.length]; }