Skip to content

feat(climate): configure climate.worldmonitor.app hostname variant #2476

@koala73

Description

@koala73

Summary

Configure climate.worldmonitor.app as a distinct hostname variant in the frontend, similar to existing tech, finance, happy, and commodity variants.

Changes

src/config/variant.ts

Add climate variant:

climate: {
  defaultPanels: ['climate-anomalies', 'co2-monitoring', 'climate-disasters', 'ocean-ice', 'air-quality', 'climate-news'],
  mapLayers: ['climate-anomalies-heatmap', 'disasters', 'air-quality', 'wildfire'],
  theme: { primaryColor: '#00AA55', accentColor: '#FF6600' },
  refreshIntervals: { anomalies: 3 * 60, co2: 24 * 60, disasters: 6 * 60, news: 30 },
  i18n: { title: 'Climate Intelligence', subtitle: 'Atmospheric, Ocean & Disaster Monitoring' },
}

Hostname Detection

Check existing subdomain detection logic (used for tech.worldmonitor.app, finance.worldmonitor.app, etc.) and add climate to the recognized variants.

Vercel

Add climate.worldmonitor.app to the project's domain list in Vercel dashboard.

Depends on

#2474

Metadata

Metadata

Assignees

No one assigned

    Labels

    UX/UIUser interface and experiencearea: panelsPanel system, layout, drag-and-dropenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions