// ------------------------------------------------------------------------ // cosmic-calendar.js - Hardcoded cosmic events (meteor showers, eclipses, // planetary oppositions/conjunctions) used by getActiveEvents. // // The per-year data now lives in ./calendar/.js — each of those files // exports a `cosmic` array (banner events) and an `almanac` array (the // "What's Coming" panel). This module just concatenates the cosmic arrays // in chronological order. // // Each entry: { id, start: 'YYYY-MM-DD', end: 'YYYY-MM-DD', // peak: 'YYYY-MM-DD' (optional), ...eventProps } // Active if today falls within [start, end] (inclusive). // Night-only events (meteor showers, eclipses) are marked nightOnly: true // so the cell icons only appear in night-time rows. // // To add a new year: create ./calendar/.js (copy an existing one), // then import it below and add its `cosmic` spread to COSMIC_CALENDAR. // ------------------------------------------------------------------------ import { cosmic as cosmic2026 } from './calendar/2026.js'; import { cosmic as cosmic2027 } from './calendar/2027.js'; import { cosmic as cosmic2028 } from './calendar/2028.js'; import { cosmic as cosmic2029 } from './calendar/2029.js'; import { cosmic as cosmic2030 } from './calendar/2030.js'; export const COSMIC_CALENDAR = [ ...cosmic2026, ...cosmic2027, ...cosmic2028, ...cosmic2029, ...cosmic2030, ];