Skip to content

Commit

Permalink
Merge pull request #22 from DipperMap/websites
Browse files Browse the repository at this point in the history
Websites: chore: windy,caiyunapp彩云天气
  • Loading branch information
lzxue authored Dec 2, 2023
2 parents 847f5bd + 366f64f commit ac6390c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 11 additions & 1 deletion src/data/sites/main/groups/weather.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { IGroup } from '../../../types'
export const MapColor: IGroup = {
export const Weather: IGroup = {
icon: '',
name: '天气',
en_name: 'map color',
Expand All @@ -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']
}
]
}
4 changes: 3 additions & 1 deletion src/data/sites/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '主站',
Expand All @@ -27,6 +28,7 @@ export const MainConfig: ISiteConfig = {
GeoCoding,
DataSource,
RSPlatform,
GeospatialAnalysis
GeospatialAnalysis,
Weather
].sort((a, b) => a.order - b.order)
}

0 comments on commit ac6390c

Please sign in to comment.