Skip to content

Commit 7bc7b9e

Browse files
committed
Merge branch 'master' of github.com:antvis/antvis.github.io into fix/1119
2 parents 2b5f976 + 5aa0878 commit 7bc7b9e

File tree

20 files changed

+60
-597
lines changed

20 files changed

+60
-597
lines changed

.dumi/pages/case/index.en.tsx

Lines changed: 0 additions & 8 deletions
This file was deleted.

.dumi/pages/case/index.tsx

Lines changed: 0 additions & 28 deletions
This file was deleted.

.dumi/pages/quick/index.en.tsx

Lines changed: 0 additions & 8 deletions
This file was deleted.

.dumi/pages/quick/index.tsx

Lines changed: 0 additions & 28 deletions
This file was deleted.

.dumi/theme/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"蚂蚁数据可视化": "AntV",
3-
"让数据栩栩如生": "Liven Data Lively",
3+
"·让AGI栩栩如生": "· Liven AGI Lively",
44
"蚂蚁集团全新一代数据可视化解决方案": "A new generation of data visualization solution from Ant Group",
55
"AntV 是蚂蚁集团全新一代数据可视化解决方案,致力于提供一套简单方便、专业可靠、无限可能的数据可视化最佳实践。": "AntV is a new generation of data visualization solution from Ant Group. We provide best practices of data visualization with simplicity, convenience, profession, reliability, and infinite possibilities.",
66
"立业・利业": "Found business・Help business",

.dumi/theme/locales/zh.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"蚂蚁数据可视化": "蚂蚁数据可视化",
3-
"让数据栩栩如生": "让数据栩栩如生",
3+
"·让AGI栩栩如生": "·让AGI栩栩如生",
44
"蚂蚁集团全新一代数据可视化解决方案": "蚂蚁集团全新一代数据可视化解决方案",
55
"AntV 是蚂蚁集团全新一代数据可视化解决方案,致力于提供一套简单方便、专业可靠、无限可能的数据可视化最佳实践。": "AntV 是蚂蚁集团全新一代数据可视化解决方案,致力于提供一套简单方便、专业可靠、无限可能的数据可视化最佳实践。",
66
"立业・利业": "立业・利业",

.dumi/theme/slots/Detail/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import SEO from '@antv/dumi-theme-antv/dist/common/SEO';
1+
import SEO from '@antv/dumi-theme-antv/dist/common/CommonHelmet';
22
import { useIntl, useLocale } from 'dumi';
33
import { debounce } from 'lodash';
44
import React, { useEffect, useRef } from 'react';

.dumirc.ts

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default defineConfig({
2020
isAntVSite: true, // 是否是 AntV 的大官网
2121
footerTheme: 'light',
2222
siteUrl: homepage, // 官网地址
23-
githubUrl: 'https://github.com/antvis', // GitHub 地址
23+
githubUrl: 'https://github.com/antvis/antvis.github.io', // GitHub 地址
2424
showSearch: true, // 是否显示搜索框
2525
showGithubCorner: true, // 是否显示头部的 GitHub icon
2626
showAntVProductsCard: true, // 是否显示 AntV 产品汇总的卡片
@@ -39,20 +39,6 @@ export default defineConfig({
3939
en: 'Design',
4040
},
4141
},
42-
{
43-
slug: 'case',
44-
title: {
45-
zh: '场景案例',
46-
en: 'Show Case',
47-
},
48-
},
49-
{
50-
slug: 'quick',
51-
title: {
52-
zh: '提交 Issue',
53-
en: 'Quick Issue',
54-
},
55-
},
5642
],
5743
ecosystems: [
5844
// 头部的菜单中的「周边生态」
@@ -98,14 +84,6 @@ export default defineConfig({
9884
},
9985
order: 4,
10086
},
101-
{
102-
slug: 'specification/module/infoCom',
103-
title: {
104-
zh: '信息组件 Info Component',
105-
en: 'Info Componen',
106-
},
107-
order: 6,
108-
},
10987
{
11088
slug: 'specification/tool',
11189
title: {
@@ -145,6 +123,16 @@ export default defineConfig({
145123
en: 'Ant Visualization solution',
146124
},
147125
},
126+
metas: {
127+
title: {
128+
zh: "AntV",
129+
en: "AntV"
130+
},
131+
description: {
132+
zh: "让AGI栩栩如生",
133+
en: "Ant Visualization solution"
134+
}
135+
},
148136
},
149137
alias: {
150138
site: '/site',
@@ -160,4 +148,7 @@ export default defineConfig({
160148
},
161149
links: [],
162150
scripts: [],
151+
https: {
152+
http2: false
153+
}
163154
});

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,4 @@ _site
8080
# dumi tmp_production
8181
.dumi/tmp
8282
.dumi/tmp-production
83+
.idea

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818
"url": "https://github.com/antvis/antvis.github.io/issues"
1919
},
2020
"dependencies": {
21+
"ahooks": "^3.9.5",
22+
"@tanstack/react-query": "^5.90.2",
2123
"@ant-design/icons": "^4.8.3",
22-
"@antv/dumi-theme-antv": "^0.5.7",
24+
"@antv/dumi-theme-antv": "beta",
2325
"@antv/g2plot": "^2.3.1",
2426
"@antv/g6": "3.3.7",
2527
"@antv/util": "^3.3.1",
2628
"antd": "5.10.2",
2729
"chroma-js": "^2.1.0",
2830
"classnames": "^2.2.6",
29-
"d3": "^7.8.5",
30-
"dumi": "~2.2.1",
31+
"dumi": "~2.4.21",
3132
"gh-pages": "^3.1.0",
3233
"husky": "^8.0.2",
3334
"lodash": "^4.17.20",
34-
"new-github-issue-url": "^1.0.0",
3535
"prettier": "^2.0.0",
3636
"pretty-quick": "^3.1.3",
3737
"react": "^18.3.1",
@@ -40,12 +40,13 @@
4040
},
4141
"devDependencies": {
4242
"@types/classnames": "^2.2.9",
43-
"@types/d3": "^7.4.2",
4443
"@types/lodash": "^4.14.189",
4544
"@types/parse-github-url": "^1.0.0",
46-
"@types/react": "^16.9.5",
45+
"@types/react": "^18.3.26",
46+
"@types/react-dom": "^18.3.7",
4747
"@types/react-github-button": "^0.1.0",
48-
"@types/react-helmet": "^6.0.0"
48+
"@types/react-helmet": "^6.0.0",
49+
"typescript": "latest"
4950
},
5051
"license": "MIT",
5152
"scripts": {

0 commit comments

Comments
 (0)