/* ═══════════════════════════════════════════════════════════════ SITE The public address of the live site. Used where a URL has to leave the browser and still work: a printed QR code made on localhost or a preview has to point here, not at wherever it was generated. Everything inside the site links by path, not this. ═══════════════════════════════════════════════════════════════ */ export const SITE_ORIGIN = 'https://nextgenerationofunity.org' /** A site path as a full URL on the live site. */ export const siteUrl = (path: string): string => new URL(path, SITE_ORIGIN).href