Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websites: chore: windy,caiyunapp彩云天气 #22

Merged
merged 9 commits into from
Dec 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
}