← back to Marketing Command Center

modules/calendarhub/index.js

14 lines

// Calendar (hub) — the merged calendar surface that LEADS the nav and is the
// default landing panel. Tabbed host: Timeline = the advanced "calendars" panel,
// Plan = the simple "calendar" panel (curated moments + campaign create/delete).
// No-op mount: it owns no API. calendarhub.js loads each real calendar panel's
// html+js into a pane and calls that panel's own init(), so calendars.js /
// calendar.js stay authoritative and their /api/calendars/* + /api/calendar/*
// routers stay mounted (only their nav entries are hidden via app.js denylist).
module.exports = {
  id: 'calendarhub',
  title: 'Calendar',
  icon: '🗓️',
  mount(_router) { /* intentionally empty — no /api/calendarhub/* routes */ },
};