From 366f64f781a6760366f3fbc0f1bd05ff8fd5b3ed Mon Sep 17 00:00:00 2001 From: Shiqi Date: Sat, 2 Dec 2023 09:06:17 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=94=A7=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=A4=A9=E6=B0=94weather?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/sites/main/groups/weather.ts | 12 +++++++++++- src/data/sites/main/index.ts | 4 +++- 2 files changed, 14 insertions(+), 2 deletions(-) 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) }