type Translate = (key: string) => string;

/**
 * The header's primary destinations, in display order.
 *
 * Functions of `t` rather than constants: the labels are translated, and a
 * module-level constant would capture whichever language happened to be active
 * when the module first evaluated.
 */
export const primaryNavLinks = (t: Translate) => [
  { href: "/", label: t("COMMON.HOME") },
  { href: "/events-and-activities", label: t("COMMON.EVENTS_ACTIVITIES") },
  { href: "/achievements", label: t("COMMON.ACHIEVEMENTS") },
  { href: "/community", label: t("COMMON.FORSA.COMMUNITY-") },
];

/** The destinations behind the "More" dropdown. */
export const moreNavLinks = (t: Translate) => [
  { href: "/more-profile", label: t("COMMON.PROFILES") },
  { href: "/partner", label: t("COMMON.PARTNERS") },
  { href: "/about-us", label: t("COMMON.ABOUT_US") },
  { href: "/contact-us", label: t("COMMON.CONTACT_US") },
];
