// Placeholder heraldry for the eight City-Loyalty cities. Each entry is a simple // emoji sigil + a ring colour โ€” enough to make the Governors board and the // governor badge read as distinct "crests" today, swappable for real artwork // later WITHOUT touching any component: drop an `img` (an imported asset URL or a // public path) onto an entry and update CityCrest to prefer it. // // Keyed by the exact `city` string the sidecar sends (see INTEGRATION.md ยง4: // Moonglow, Britain, Jhelom, Yew, Minoc, Trinsic, SkaraBrae, NewMagincia). export const CITY_CRESTS = { Britain: { sigil: 'โšœ', color: '#c9a24b', label: 'Britain' }, Moonglow: { sigil: '๐Ÿ”ฎ', color: '#7f8fd0', label: 'Moonglow' }, Minoc: { sigil: 'โš’', color: '#b0763f', label: 'Minoc' }, Trinsic: { sigil: 'โš“', color: '#5f9bd0', label: 'Trinsic' }, Yew: { sigil: '๐ŸŒณ', color: '#5fb98a', label: 'Yew' }, Jhelom: { sigil: 'โš”', color: '#c76f6f', label: 'Jhelom' }, SkaraBrae: { sigil: '๐ŸŽ', color: '#9a8bbf', label: 'Skara Brae' }, NewMagincia: { sigil: '๐Ÿ•Š', color: '#cfc3a0', label: 'New Magincia' }, } const FALLBACK = { sigil: '๐Ÿฐ', color: '#8c96a5', label: '' } // Look up a crest by the raw city key, tolerating spacing variants // ("Skara Brae" / "New Magincia"). `label` falls back to the given name. export function crestFor(city) { if (!city) return FALLBACK const key = String(city).replace(/\s+/g, '') const crest = CITY_CRESTS[city] || CITY_CRESTS[key] if (crest) return crest return { ...FALLBACK, label: String(city) } }