diff --git a/src/data/sites/main/groups/weather.ts b/src/data/sites/main/groups/weather.ts index f0f50e2..6821db2 100644 --- a/src/data/sites/main/groups/weather.ts +++ b/src/data/sites/main/groups/weather.ts @@ -1,5 +1,5 @@ import { IGroup } from '../../../types' -export const MapColor: IGroup = { +export const Weather: IGroup = { icon: '', name: '天气', en_name: 'map color', @@ -14,6 +14,16 @@ export const MapColor: IGroup = { site_url: 'https://www.windy.com/', order: 2, tags: ['GIS', 'Web', 'Data'] + }, + { + icon: 'https://caiyunapp.com/imgs/logo/logo-website.png', + name: '彩云天气', + en_name: 'Caiyunapp', + description: '天气预报平台,提供api', + en_description: 'Weather forecast platform, providing API', + site_url: 'https://caiyunapp.com/map/', + order: 2, + tags: ['GIS', 'Web', 'Data'] } ] } diff --git a/src/data/sites/main/index.ts b/src/data/sites/main/index.ts index 8cfd9bc..e65df83 100644 --- a/src/data/sites/main/index.ts +++ b/src/data/sites/main/index.ts @@ -11,6 +11,7 @@ import { OnlineMap } from './groups/onlinemap' import { RSPlatform } from './groups/rs_platform' import { GeospatialAnalysis } from './groups/geospatial_analysis' import { Visulization } from './groups/visualization' +import { Weather } from './groups/weather' export const MainConfig: ISiteConfig = { name: '主站', @@ -27,6 +28,7 @@ export const MainConfig: ISiteConfig = { GeoCoding, DataSource, RSPlatform, - GeospatialAnalysis + GeospatialAnalysis, + Weather ].sort((a, b) => a.order - b.order) }