export const ONBOARDING_ROUTES = [
  "/my-project",
  "/brand-profile",
  "/posting-context",
  "/smart-schedule",
  "/automation",
  "/connected-accounts",
  "/live-generation",
] as const;

export function getOnboardingRoute(step: number): string {
  const index = Math.max(0, Math.min(step - 1, ONBOARDING_ROUTES.length - 1));
  return ONBOARDING_ROUTES[index] ?? "/my-project";
}
