/**
 * The profile route for a person's id.
 *
 * Every profile lives at `/public-profile/{id}` (client, 2026-10-18): the
 * «حساب خاص» switch was removed, and the only privacy left is whether the
 * real name is shown (`show_real_name`), which the API applies itself. The old
 * `/volunteer-private-profile/{id}` route redirects here for saved links.
 */
export function profilePath(id: number | string | null | undefined): string | null {
  if (id === null || id === undefined || id === "") return null;
  return `/public-profile/${id}`;
}
